diff options
author | Peter Gavin <pete@gentoo.org> | 2001-07-28 15:49:20 +0000 |
---|---|---|
committer | Peter Gavin <pete@gentoo.org> | 2001-07-28 15:49:20 +0000 |
commit | 00370f2de9e5825d29ca212d51ed35388567b48d (patch) | |
tree | fbd98eac91baf6271f55be3aa165475eae5ce777 /sys-apps/fileutils | |
parent | apply a patch that makes it work better with autoconf 2.13 (diff) | |
download | gentoo-2-00370f2de9e5825d29ca212d51ed35388567b48d.tar.gz gentoo-2-00370f2de9e5825d29ca212d51ed35388567b48d.tar.bz2 gentoo-2-00370f2de9e5825d29ca212d51ed35388567b48d.zip |
bootcd fixups and additions. set USE=bootcd to build these packages
for the installation cd. autoiso.sh is the cd building automation
script. (its not nearly complete though)
Diffstat (limited to 'sys-apps/fileutils')
-rw-r--r-- | sys-apps/fileutils/files/digest-fileutils-4.1-r2 | 1 | ||||
-rw-r--r-- | sys-apps/fileutils/fileutils-4.1-r2.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/sys-apps/fileutils/files/digest-fileutils-4.1-r2 b/sys-apps/fileutils/files/digest-fileutils-4.1-r2 new file mode 100644 index 000000000000..d32a4e9fe3a1 --- /dev/null +++ b/sys-apps/fileutils/files/digest-fileutils-4.1-r2 @@ -0,0 +1 @@ +MD5 2fa04ceee87e962ddf72f32a2d6b906d fileutils-4.1.tar.gz diff --git a/sys-apps/fileutils/fileutils-4.1-r2.ebuild b/sys-apps/fileutils/fileutils-4.1-r2.ebuild new file mode 100644 index 000000000000..557cd0b5a91d --- /dev/null +++ b/sys-apps/fileutils/fileutils-4.1-r2.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/sys-apps/fileutils/fileutils-4.1-r2.ebuild,v 1.1 2001/07/28 15:49:20 pete Exp $ + +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="Standard GNU file utilities (chmod, cp, dd, dir, ls, etc)" +SRC_URI="ftp://alpha.gnu.org/gnu/fetish/${A}" +HOMEPAGE="http://www.gnu.org/software/fileutils/fileutils.html" + +DEPEND="virtual/glibc + nls? ( sys-devel/gettext )" + +RDEPEND="virtual/glibc" + +src_compile() { + + local myconf + if [ -z "`use nls`" ] + then + myconf="--disable-nls" + fi + try ./configure --prefix=/usr --mandir=/usr/share/man \ + --infodir=/usr/share/info --bindir=/bin ${myconf} + if [ -z "`use static`" ] + then + try make ${MAKEOPTS} + else + try make ${MAKEOPTS} LDFLAGS=-static + fi +} + +src_install() { + + if [ -z "`use build`" ] && [ -z "`use bootcd`" ] + then + make prefix=${D}/usr mandir=${D}/usr/share/man infodir=${D}/usr/share/info bindir=${D}/bin install + cd ${D} + dodir /usr/bin + rm -rf usr/lib + cd usr/bin + ln -s ../../bin/* . + cd ${S} + dodoc COPYING NEWS README* THANKS TODO ChangeLog ChangeLog-1997 AUTHORS + else + cd ${S}/src + into / + dobin chgrp chown dd dir du ln mkdir mknod rm touch \ + chmod cp df ls mkfifo mv rmdir sync + newbin ginstall install + dosym /bin/install /usr/bin/install + fi + +} + |