diff options
author | 2011-04-08 17:16:37 +0200 | |
---|---|---|
committer | 2011-04-08 17:16:37 +0200 | |
commit | e9d2b29376389eff2904696dea8da50d82c6abbe (patch) | |
tree | 7369c488a09dd926abdfcc5ca5bf06789226fbb7 | |
parent | synced app-arch/libarchive via auto-sync (diff) | |
download | multilib-portage-e9d2b29376389eff2904696dea8da50d82c6abbe.tar.gz multilib-portage-e9d2b29376389eff2904696dea8da50d82c6abbe.tar.bz2 multilib-portage-e9d2b29376389eff2904696dea8da50d82c6abbe.zip |
synced app-arch/xz-utils via auto-sync
-rw-r--r-- | app-arch/xz-utils/Manifest | 2 | ||||
-rw-r--r-- | app-arch/xz-utils/xz-utils-5.0.2.ebuild | 70 |
2 files changed, 72 insertions, 0 deletions
diff --git a/app-arch/xz-utils/Manifest b/app-arch/xz-utils/Manifest index 26e46928f..09b0e79bb 100644 --- a/app-arch/xz-utils/Manifest +++ b/app-arch/xz-utils/Manifest @@ -1,7 +1,9 @@ AUX xz-utils-5.0.1-xzgrep-typo.patch 1317 RMD160 aa2690f5e4061c133798222c7e70b0bbc28b656f SHA1 ce1ccd1b6dfab8a2cf233f52095001e78eff5ef3 SHA256 d603230cc76e06f2162803587055ee446a1478aab167ff21b39074f31392263e DIST xz-4.999.9beta.tar.gz 1037541 RMD160 1253ce01746c748c8549effa5041224044919c4e SHA1 9627de3997ddcdb02f8d327e84b2cf1941ecd230 SHA256 fa3901d1c034842da47fec1a24a9b5a5bd435f5ecfbb444c168512e2daddb86f DIST xz-5.0.1.tar.gz 1236843 RMD160 b4ea20bc85024bbe11cf02941e2259a0d44b8a61 SHA1 a5e7b697d4413f79e36a6c5959ece3db40938c1c SHA256 3770b8872a4322b9502937b4781d523303bf193962c4822899fd3a210878fc80 +DIST xz-5.0.2.tar.gz 1241178 RMD160 9ae8c5021e02ac3122ef323575b7124a2bd20d90 SHA1 2f64e90df16a4cc143bf7ba5788953fac593f4f6 SHA256 57e979baaa40147dde1bbb284e3618f8f18b6532c932648bd57b5aee674b98a7 EBUILD xz-utils-4.999.9_beta.ebuild 1571 RMD160 651f978c7963d5ab786da0846b00e318947d5338 SHA1 18a5b6037993bb0ca1113ed53b8fd034169fc36b SHA256 213a6d3f87e57ded03800c3740afc0a636f7105e757ff3585bf9ec4ddd789da2 EBUILD xz-utils-5.0.1-r1.ebuild 1863 RMD160 27edf8801ef171688529c34790d9470451e2383c SHA1 ea73ee0a7176aa9f3e06e7e89e091a1dc992e79f SHA256 6d682b3489b638ac10d3aed83beaea562f86fd5eb577fc53e83aa1c5ca9811e5 EBUILD xz-utils-5.0.1.ebuild 1752 RMD160 187db7d4eaadec8ac6eb6e69da3fc4cea1e813df SHA1 64f0d5726fdf51154f510f76d422919c4cfd4cf7 SHA256 c2ed597fbde2fde07d14061ab1761863f71d63a014a978ae37b93d05efa7df85 +EBUILD xz-utils-5.0.2.ebuild 1867 RMD160 21943e1689e57b95b4c96fae79fb113f1a3bc811 SHA1 261ed0e5c98be2f21e9273bd59692aaa05ad19d4 SHA256 6c1230b260049aef8bfc7c3aa96df6ca997eb5c83ea14ae10fe8f54e14f2cd2a EBUILD xz-utils-9999.ebuild 1557 RMD160 712a931312c44db1de805b268895bcd8042c0187 SHA1 57ae4ac156b88d691058e28fcbab7a39c91f1540 SHA256 226b14aec36110a67be5633ee2a0408ab87b252d7c063984cf04cc25181de915 diff --git a/app-arch/xz-utils/xz-utils-5.0.2.ebuild b/app-arch/xz-utils/xz-utils-5.0.2.ebuild new file mode 100644 index 000000000..3ed3bb231 --- /dev/null +++ b/app-arch/xz-utils/xz-utils-5.0.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/xz-utils-5.0.2.ebuild,v 1.1 2011/04/04 05:16:07 vapier Exp $ + +# Remember: we cannot leverage autotools in this ebuild in order +# to avoid circular deps with autotools + +EAPI="2" + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://ctrl.tukaani.org/xz.git" + inherit git autotools + SRC_URI="" + EXTRA_DEPEND="sys-devel/gettext[lib32?] dev-vcs/cvs >=sys-devel/libtool-2[lib32?]" #272880 286068 +else + MY_P="${PN/-utils}-${PV/_}" + SRC_URI="http://tukaani.org/xz/${MY_P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" + S=${WORKDIR}/${MY_P} + EXTRA_DEPEND= +fi + +inherit eutils multilib multilib-native + +DESCRIPTION="utils for managing LZMA compressed files" +HOMEPAGE="http://tukaani.org/xz/" + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="nls static-libs +threads" + +RDEPEND="!<app-arch/lzma-4.63 + !app-arch/lzma-utils + !<app-arch/p7zip-4.57" +DEPEND="${RDEPEND} + ${EXTRA_DEPEND}" + +if [[ ${PV} == "9999" ]] ; then +multilib-native_src_prepare_internal() { + eautopoint + eautoreconf +} +fi + +multilib-native_src_prepare_internal() { + epatch "${FILESDIR}"/${PN}-5.0.1-xzgrep-typo.patch #356627 +} + +multilib-native_src_configure_internal() { + econf \ + $(use_enable nls) \ + $(use_enable threads) \ + $(use_enable static-libs static) +} + +multilib-native_src_install_internal() { + emake install DESTDIR="${D}" || die + rm "${D}"/usr/share/doc/xz/COPYING* || die + mv "${D}"/usr/share/doc/{xz,${PF}} || die + prepalldocs + dodoc AUTHORS ChangeLog NEWS README THANKS +} + +multilib-native_pkg_preinst_internal() { + preserve_old_lib /usr/$(get_libdir)/liblzma.so.0 +} + +multilib-native_pkg_postinst_internal() { + preserve_old_lib_notify /usr/$(get_libdir)/liblzma.so.0 +} |