summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-09-08 19:35:00 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-09-08 19:35:00 +0000
commit62c4a1c9746b03b641c6ff1ac1e0594dd7ae18d1 (patch)
treeb9e7bbbec32b8a21640b28f67984ba8df675008c /app-arch/dump/dump-0.4.33.ebuild
parentVersion bumped. (diff)
downloadhistorical-62c4a1c9746b03b641c6ff1ac1e0594dd7ae18d1.tar.gz
historical-62c4a1c9746b03b641c6ff1ac1e0594dd7ae18d1.tar.bz2
historical-62c4a1c9746b03b641c6ff1ac1e0594dd7ae18d1.zip
Version bumped.
Diffstat (limited to 'app-arch/dump/dump-0.4.33.ebuild')
-rw-r--r--app-arch/dump/dump-0.4.33.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/app-arch/dump/dump-0.4.33.ebuild b/app-arch/dump/dump-0.4.33.ebuild
new file mode 100644
index 000000000000..4db7e27cc7fe
--- /dev/null
+++ b/app-arch/dump/dump-0.4.33.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/dump/dump-0.4.33.ebuild,v 1.1 2003/09/08 19:31:54 mholzer Exp $
+
+MY_P=${P/4./4b}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="Dump/restore ext2fs backup utilities"
+SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
+HOMEPAGE="http://dump.sourceforge.net"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+IUSE="readline static"
+
+DEPEND=">=sys-apps/e2fsprogs-1.27
+ >=sys-apps/bzip2-1.0.2
+ >=sys-libs/zlib-1.1.4
+ sys-kernel/linux-headers
+ readline? ( sys-libs/readline )"
+RDEPEND="sys-apps/star"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ if [ `use readline` ] ; then
+ for i in configure configure.in
+ do
+ cp ${i} ${i}.orig
+ sed "s:-ltermcap:-lncurses:g" \
+ ${i}.orig > ${i}
+ done
+ fi
+}
+
+src_compile() {
+ local myconf=""
+ use static \
+ && myconf="${myconf} --enable-static" \
+ || myconf="${myconf} --enable-shared"
+
+ econf \
+ --with-dumpdatespath=/etc/dumpdates \
+ --with-binowner=root \
+ --with-bingroup=root \
+ --enable-largefile \
+ `use_enable readline` \
+ ${myconf} || die
+
+ emake || die
+}
+
+src_install() {
+ einstall MANDIR=${D}/usr/share/man/man8 || die
+
+ dodoc CHANGES COPYRIGHT KNOWNBUGS MAINTAINERS README \
+ REPORTING-BUGS THANKS TODO
+ dodoc -r examples/dump_on_cd
+}