diff options
-rw-r--r-- | app-arch/rpm/files/digest | 2 | ||||
-rw-r--r-- | app-arch/rpm/rpm-3.0.4-r1.ebuild | 56 | ||||
-rw-r--r-- | app-arch/unzip/files/digest | 1 | ||||
-rw-r--r-- | app-arch/unzip/unzip-5.41-r1.ebuild | 33 |
4 files changed, 92 insertions, 0 deletions
diff --git a/app-arch/rpm/files/digest b/app-arch/rpm/files/digest new file mode 100644 index 000000000000..b20f0ada1442 --- /dev/null +++ b/app-arch/rpm/files/digest @@ -0,0 +1,2 @@ +MD5 09799fc36ab61251275dafd912994198 rpm-3.0.4.tar.gz +MD5 8a3f6d1d9e4072bb3c7aeae6578ae6ca bzip2-0.9.5d.tar.gz diff --git a/app-arch/rpm/rpm-3.0.4-r1.ebuild b/app-arch/rpm/rpm-3.0.4-r1.ebuild new file mode 100644 index 000000000000..73bf5edfc70e --- /dev/null +++ b/app-arch/rpm/rpm-3.0.4-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-3.0.4-r1.ebuild,v 1.1 2000/08/07 10:51:35 achim Exp $ + +P=rpm-3.0.4 +A="${P}.tar.gz bzip2-0.9.5d.tar.gz" +S=${WORKDIR}/${P} +CATEGORY="app-arch" +DESCRIPTION="Red Hat Package Management Utils" +SRC_URI="ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/${P}.tar.gz + ftp://ftp.kernel.org/pub/software/utils/compress/bzip2/bzip2-0.9.5.tar.gz" +HOMEPAGE="http://www.rpm.org/" + +src_unpack () { + unpack ${P}.tar.gz + unpack bzip2-0.9.5d.tar.gz + cd ${WORKDIR}/bzip2-0.9.5d + cp Makefile Makefile.orig + sed -e "s/-O2/${CFLAGS}/" Makefile.orig > Makefile +} + +src_compile() { + cd ${WORKDIR}/bzip2-0.9.5d + make $MAKEOPTS "MAKE = make $MAKEOPTS" all + cd ${S} + export CFLAGS="-I ${WORKDIR}/bzip2-0.9.5d ${CFLAGS} -L ${WORKDIR}/bzip2-0.9.5d -lbz2" + # there is no shared Version of bzlib so we can only build the static version :-( + ./configure --prefix=/usr --with-catgets + make +} + +src_install() { + make DESTDIR=${D} install + mv ${D}/bin/rpm ${D}/usr/bin + rm -rf ${D}/bin + if [ -z "$DBUG" ] + then + strip ${D}/usr/bin/* + # strip --strip-unneeded ${D}/usr/lib/*.so* + fi + prepman + for i in ja pl ru + do + gzip -9 ${D}/usr/man/$i/man8/*.8 + done + cd ${S} + dodoc CHANGES COPYING CREDITS GROUPS README* RPM* TODO + cd ${WORKDIR}/bzip2-0.9.5d + insinto /usr/lib/rpm + doins libbz2.a +} + + + + diff --git a/app-arch/unzip/files/digest b/app-arch/unzip/files/digest new file mode 100644 index 000000000000..4b17b6c9dd99 --- /dev/null +++ b/app-arch/unzip/files/digest @@ -0,0 +1 @@ +MD5 d5fb7ca068da949765abb8c6bc71666e unzip541.tar.gz diff --git a/app-arch/unzip/unzip-5.41-r1.ebuild b/app-arch/unzip/unzip-5.41-r1.ebuild new file mode 100644 index 000000000000..8064a5d16f7a --- /dev/null +++ b/app-arch/unzip/unzip-5.41-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-arch/unzip/unzip-5.41-r1.ebuild,v 1.1 2000/08/07 10:51:35 achim Exp $ + +P=unzip-5.41 +A=unzip541.tar.gz +S=${WORKDIR}/${P} +CATEGORY="app-arch" +DESCRIPTION="Unzipper for pkzip-compressed files" +SRC_URI="ftp://ftp.freesoftware.com/pub/infozip/src/${A}" +HOMEPAGE="ftp://ftp.info-zip.org/pub/infozip/UnZip.html" + +src_unpack() { + unpack ${A} +} + +src_compile() { + cd ${S} + cp unix/Makefile unix/Makefile.orig + sed -e "s:-O3:${CFLAGS}:" unix/Makefile.orig > unix/Makefile + make -f unix/Makefile linux +} + +src_install() { + cd ${S} + into /usr + dobin unzip funzip unzipsfx unix/zipgrep + dodoc BUGS COPYING History* LICENSE README ToDo WHERE +} + + + |