summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-04-24 23:12:44 +0000
committerAchim Gottinger <achim@gentoo.org>2001-04-24 23:12:44 +0000
commit10aa19007d0be410008ad9ed5c580275ee42876d (patch)
treeacd775787d90c58c87b02b95cc752daafd3c295c /sys-apps/e2fsprogs
parent- fixed a bug in a pkg_postinst(). (diff)
downloadgentoo-2-10aa19007d0be410008ad9ed5c580275ee42876d.tar.gz
gentoo-2-10aa19007d0be410008ad9ed5c580275ee42876d.tar.bz2
gentoo-2-10aa19007d0be410008ad9ed5c580275ee42876d.zip
Moved fsck* to /sbin
Diffstat (limited to 'sys-apps/e2fsprogs')
-rw-r--r--sys-apps/e2fsprogs/e2fsprogs-1.19-r2.ebuild78
1 files changed, 78 insertions, 0 deletions
diff --git a/sys-apps/e2fsprogs/e2fsprogs-1.19-r2.ebuild b/sys-apps/e2fsprogs/e2fsprogs-1.19-r2.ebuild
new file mode 100644
index 000000000000..ced6145469d2
--- /dev/null
+++ b/sys-apps/e2fsprogs/e2fsprogs-1.19-r2.ebuild
@@ -0,0 +1,78 @@
+# 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.19-r2.ebuild,v 1.1 2001/04/24 23:12:44 achim 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}/${P}-po-Makefile.in.in-gentoo.diff
+}
+
+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
+
+}
+
+
+