summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2009-05-06 11:32:27 +0000
committerJeroen Roovers <jer@gentoo.org>2009-05-06 11:32:27 +0000
commitbf73987367f5d4deff0b6b1b26ab7dd9da69cacc (patch)
tree7cc40e27e68639474dbf91978e53df553d79f6f0 /sys-apps/debianutils/debianutils-3.1.3.ebuild
parentBump (diff)
downloadhistorical-bf73987367f5d4deff0b6b1b26ab7dd9da69cacc.tar.gz
historical-bf73987367f5d4deff0b6b1b26ab7dd9da69cacc.tar.bz2
historical-bf73987367f5d4deff0b6b1b26ab7dd9da69cacc.zip
Version bump.
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'sys-apps/debianutils/debianutils-3.1.3.ebuild')
-rw-r--r--sys-apps/debianutils/debianutils-3.1.3.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/sys-apps/debianutils/debianutils-3.1.3.ebuild b/sys-apps/debianutils/debianutils-3.1.3.ebuild
new file mode 100644
index 000000000000..9a35a0ccfce5
--- /dev/null
+++ b/sys-apps/debianutils/debianutils-3.1.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/debianutils/debianutils-3.1.3.ebuild,v 1.1 2009/05/06 11:32:27 jer Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="A selection of tools from Debian"
+HOMEPAGE="http://packages.qa.debian.org/d/debianutils.html"
+SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.gz"
+
+LICENSE="BSD GPL-2 SMAIL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="kernel_linux static"
+
+PDEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp sys-freebsd/freebsd-ubin )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-2.31-no-bs-namespace.patch
+}
+
+src_compile() {
+ use static && append-ldflags -static
+ econf || die
+ emake || die
+}
+
+src_install() {
+ into /
+ dobin tempfile run-parts || die
+ if use kernel_linux ; then
+ dosbin installkernel || die "installkernel failed"
+ fi
+
+ into /usr
+ dosbin savelog || die "savelog failed"
+
+ doman tempfile.1 run-parts.8 savelog.8
+ use kernel_linux && doman installkernel.8
+ cd debian
+ dodoc changelog control
+}