diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-04-09 21:24:46 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-04-09 21:24:46 +0000 |
commit | 1fa618dd9fb7667b42d17536f817dcc77568b822 (patch) | |
tree | b13bcf8d90c3b07989c6bfc3a7029235c86d9a28 /app-arch | |
parent | Commited some missing files from previous updates (diff) | |
download | gentoo-2-1fa618dd9fb7667b42d17536f817dcc77568b822.tar.gz gentoo-2-1fa618dd9fb7667b42d17536f817dcc77568b822.tar.bz2 gentoo-2-1fa618dd9fb7667b42d17536f817dcc77568b822.zip |
Fixed some glibc-2.2.2 header quirks and added lfs support
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/dump/dump-0.4.21-r2.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/app-arch/dump/dump-0.4.21-r2.ebuild b/app-arch/dump/dump-0.4.21-r2.ebuild new file mode 100644 index 000000000000..a2be3e51eb02 --- /dev/null +++ b/app-arch/dump/dump-0.4.21-r2.ebuild @@ -0,0 +1,61 @@ +# 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/dump/dump-0.4.21-r2.ebuild,v 1.1 2001/04/09 21:24:46 achim Exp $ + +P=dump-0.4b21 +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="Dump/restore ext2fs backup utilities" +SRC_URI="http://download.sourceforge.net/dump/${A}" +HOMEPAGE="http://dump.sourceforge.net" + +DEPEND=">=sys-apps/e2fsprogs-1.19 + readline? ( >=sys-libs/readline-4.1-r2 )" +RDEPEND="$DEPEND sys-apps/star" + +src_unpack() { + unpack ${A} + cd ${S} + for i in dump-main.c dump-optr.c + do + patch -p0 < ${FILESDIR}/${PN}-${PV}-${i}-gentoo.diff + done +} + +src_compile() { + + local myconf + if [ "`use readline`" ] + then + myconf=--enable-readline + ln -s /lib/libncurses.so libtermcap.so + export LDFLAGS="-L${S}" + export CFLAGS="$CFLAGS -L${S}" + fi + + try ./configure --prefix=/usr --host=${CHOST} \ + --enable-largefile ${myconf} + try make + +} + +src_install () { + + dodir /sbin + dodir /usr/share/man/man8 + dodir /etc/dumpdates + try make BINDIR=${D}/sbin MANDIR=${D}/usr/share/man/man8 \ + DUMPDATESPATH=${D}/etc/dumpdates install + + dodoc CHANGES COPYRIGHT KNOWNBUGS MAINTAINERS + dodoc README REPORTING-BUGS THANKS TODO + + cd ${D}/sbin + rm rdump + ln -s dump rdump + rm rrestore + ln -s restore rrestore + +} + |