diff options
author | Peter Gavin <pete@gentoo.org> | 2001-08-04 18:22:45 +0000 |
---|---|---|
committer | Peter Gavin <pete@gentoo.org> | 2001-08-04 18:22:45 +0000 |
commit | 2104e6db8dc8fa0ead9a8c4ebebe51334d118641 (patch) | |
tree | b77f143824f93937008d0135d208ecbafe8a28ee /sys-apps/e2fsprogs | |
parent | web updates (diff) | |
download | gentoo-2-2104e6db8dc8fa0ead9a8c4ebebe51334d118641.tar.gz gentoo-2-2104e6db8dc8fa0ead9a8c4ebebe51334d118641.tar.bz2 gentoo-2-2104e6db8dc8fa0ead9a8c4ebebe51334d118641.zip |
*** empty log message ***
Diffstat (limited to 'sys-apps/e2fsprogs')
-rw-r--r-- | sys-apps/e2fsprogs/e2fsprogs-1.22-r1.ebuild | 82 | ||||
-rw-r--r-- | sys-apps/e2fsprogs/e2fsprogs-1.22.ebuild | 41 | ||||
-rw-r--r-- | sys-apps/e2fsprogs/files/digest-e2fsprogs-1.22-r1 | 1 |
3 files changed, 106 insertions, 18 deletions
diff --git a/sys-apps/e2fsprogs/e2fsprogs-1.22-r1.ebuild b/sys-apps/e2fsprogs/e2fsprogs-1.22-r1.ebuild new file mode 100644 index 000000000000..b56289dcf528 --- /dev/null +++ b/sys-apps/e2fsprogs/e2fsprogs-1.22-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Daniel Robbins <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/e2fsprogs/e2fsprogs-1.22-r1.ebuild,v 1.1 2001/08/04 18:22:45 pete Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Standard ext2 filesystem utilities" +SRC_URI="ftp://download.sourceforge.net/pub/sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://e2fsprogs.sourceforge.net/" + +DEPEND="virtual/glibc + nls? ( sys-devel/gettext ) + sys-apps/texinfo" +RDEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + cd ${S} + patch -p0 < ${FILESDIR}/e2fsprogs-1.19-po-Makefile.in.in-gentoo.diff + cd ${S}/po + cp POTFILES.in POTFILES.in.orig + sed -e 's/recover\.c/recovery.c/g' POTFILES.in.orig > POTFILES.in +} + +src_compile() { + + local myconf + if [ "`use nls`" ] + then + myconf="--enable-nls" + else + myconf="--disable-nls" + fi + try ./configure --host=${CHOST} --prefix=/usr \ + --mandir=/usr/share/man --infodir=/usr/share/info \ + --enable-elf-shlibs ${myconf} + + # Parallel make sometimes fails + try make + +} + +src_install() { + + local myopts + if [ "$DEBUG" ] + then + myopts="STRIP=\"echo\"" + fi + + myopts="${myopts} mandir=/usr/share/man infodir=/usr/share/info" + + try make DESTDIR=${D} ${myopts} install + try make DESTDIR=${D} ${myopts} install-libs + + if [ "`use nls`" ] + then + cd po + try make DESTDIR=${D} install + fi + dodir /sbin + mv ${D}/usr/sbin/fsck* ${D}/sbin + dodoc COPYING ChangeLog README RELEASE-NOTES SHLIBS + docinto e2fsck + dodoc e2fsck/ChangeLog e2fsck/CHANGES + for i in e2p et ext2fs ss uuid + do + docinto lib/${i} + dodoc lib/${i}/ChangeLog + done + docinto misc + dodoc misc/ChangeLog + docinto resize + dodoc resize/ChangeLog + docinto util + dodoc util/ChangeLog + if [ "`use bootcd`" ] + then + rm -rf ${D}/usr/lib/lib*.a + rm -rf ${D}/usr/share ${D}/usr/include + fi +} diff --git a/sys-apps/e2fsprogs/e2fsprogs-1.22.ebuild b/sys-apps/e2fsprogs/e2fsprogs-1.22.ebuild index 406bd53bee87..bc4e80de72b2 100644 --- a/sys-apps/e2fsprogs/e2fsprogs-1.22.ebuild +++ b/sys-apps/e2fsprogs/e2fsprogs-1.22.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-apps/e2fsprogs/e2fsprogs-1.22.ebuild,v 1.1 2001/07/09 21:55:03 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/e2fsprogs/e2fsprogs-1.22.ebuild,v 1.2 2001/08/04 18:22:45 pete Exp $ S=${WORKDIR}/${P} DESCRIPTION="Standard ext2 filesystem utilities" @@ -58,23 +58,28 @@ src_install() { cd po try make DESTDIR=${D} install fi - dodir /sbin - mv ${D}/usr/sbin/fsck* ${D}/sbin - dodoc COPYING ChangeLog README RELEASE-NOTES SHLIBS - docinto e2fsck - dodoc e2fsck/ChangeLog e2fsck/CHANGES - for i in e2p et ext2fs ss uuid - do - docinto lib/${i} - dodoc lib/${i}/ChangeLog - done - docinto misc - dodoc misc/ChangeLog - docinto resize - dodoc resize/ChangeLog - docinto util - dodoc util/ChangeLog - + dodir /sbin + mv ${D}/usr/sbin/fsck* ${D}/sbin + + if [ -z "`use bootcd`" ] + then + dodoc COPYING ChangeLog README RELEASE-NOTES SHLIBS + docinto e2fsck + dodoc e2fsck/ChangeLog e2fsck/CHANGES + for i in e2p et ext2fs ss uuid + do + docinto lib/${i} + dodoc lib/${i}/ChangeLog + done + docinto misc + dodoc misc/ChangeLog + docinto resize + dodoc resize/ChangeLog + docinto util + dodoc util/ChangeLog + else + rm -rf ${D}/usr/lib/lib*.a ${D}/usr/share ${D}/usr/include + fi } diff --git a/sys-apps/e2fsprogs/files/digest-e2fsprogs-1.22-r1 b/sys-apps/e2fsprogs/files/digest-e2fsprogs-1.22-r1 new file mode 100644 index 000000000000..8f6883ba0290 --- /dev/null +++ b/sys-apps/e2fsprogs/files/digest-e2fsprogs-1.22-r1 @@ -0,0 +1 @@ +MD5 a2b689fda4e954df0258c2605bc65d9b e2fsprogs-1.22.tar.gz |