diff options
Diffstat (limited to 'repo/dev-util/pristine-tar/pristine-tar-1.00.ebuild')
-rw-r--r-- | repo/dev-util/pristine-tar/pristine-tar-1.00.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/repo/dev-util/pristine-tar/pristine-tar-1.00.ebuild b/repo/dev-util/pristine-tar/pristine-tar-1.00.ebuild new file mode 100644 index 0000000..42f0fcf --- /dev/null +++ b/repo/dev-util/pristine-tar/pristine-tar-1.00.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit toolchain-funcs + +DESCRIPTION="regenerate a pristine upstream tarball" +HOMEPAGE="http://kitenet.net/~joey/code/pristine-tar/" +SRC_URI="mirror://debian/pool/main/p/${PN}/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="sys-libs/zlib + dev-lang/perl" +RDEPEND="dev-lang/perl + dev-util/xdelta" + +S=${WORKDIR}/${PN} + +src_unpack(){ + unpack ${A} + sed -i "s/gcc -Wall -O2 -lz -o \$@ \$(ZGZ_SOURCES)/$(tc-getCC) ${CFLAGS} -o \$@ \$(ZGZ_SOURCES) -lz ${LDFLAGS}/" \ + "${S}"/Makefile || die +} + +src_install(){ + emake DESTDIR="${D}" install || die + dodoc delta-format.txt TODO debian/changelog || die +} |