diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-08-28 07:40:25 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-08-28 07:40:25 +0000 |
commit | 859dd948e0829048f97ceef8be4aba0ea745e408 (patch) | |
tree | 0aa1709749c3f95610b9d8bc7f9683a255371c6a /app-arch/xz-utils/xz-utils-4.999.9_beta.ebuild | |
parent | Version bump (diff) | |
download | gentoo-2-859dd948e0829048f97ceef8be4aba0ea745e408.tar.gz gentoo-2-859dd948e0829048f97ceef8be4aba0ea745e408.tar.bz2 gentoo-2-859dd948e0829048f97ceef8be4aba0ea745e408.zip |
Version bump.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'app-arch/xz-utils/xz-utils-4.999.9_beta.ebuild')
-rw-r--r-- | app-arch/xz-utils/xz-utils-4.999.9_beta.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-arch/xz-utils/xz-utils-4.999.9_beta.ebuild b/app-arch/xz-utils/xz-utils-4.999.9_beta.ebuild new file mode 100644 index 000000000000..c4a77b505f73 --- /dev/null +++ b/app-arch/xz-utils/xz-utils-4.999.9_beta.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/xz-utils-4.999.9_beta.ebuild,v 1.1 2009/08/28 07:40:25 vapier Exp $ + +# Remember: we cannot leverage autotools in this ebuild in order +# to avoid circular deps with autotools + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://ctrl.tukaani.org/xz.git" + inherit git autotools + SRC_URI="" + EXTRA_DEPEND="sys-devel/gettext dev-util/cvs" #272880 +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 ~sparc-fbsd ~x86 ~x86-fbsd" + S=${WORKDIR}/${MY_P} + EXTRA_DEPEND= +fi + +inherit eutils + +DESCRIPTION="utils for managing LZMA compressed files" +HOMEPAGE="http://tukaani.org/xz/" + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="" + +RDEPEND="!app-arch/lzma + !app-arch/lzma-utils + !<app-arch/p7zip-4.57" +DEPEND="${RDEPEND} + ${EXTRA_DEPEND}" + +src_unpack() { + if [[ ${PV} == "9999" ]] ; then + git_src_unpack + cd "${S}" + ./autogen.sh || die + else + unpack ${A} + cd "${S}" + sed -i 's:-static::' $(find -name Makefile.in) + fi +} + +src_install() { + emake install DESTDIR="${D}" || die + dodoc AUTHORS ChangeLog NEWS README THANKS +} |