/[gentoo-x86]/sys-apps/debianutils/debianutils-4.3.3.ebuild
Gentoo

Contents of /sys-apps/debianutils/debianutils-4.3.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Aug 2 02:24:32 2012 UTC (2 years ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Version bump.

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=4
6
7 inherit eutils flag-o-matic
8
9 DESCRIPTION="A selection of tools from Debian"
10 HOMEPAGE="http://packages.qa.debian.org/d/debianutils.html"
11 SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.gz"
12
13 LICENSE="BSD GPL-2 SMAIL"
14 SLOT="0"
15 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
16 IUSE="kernel_linux static"
17
18 PDEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-freebsd/freebsd-ubin )"
19
20 src_prepare() {
21 epatch "${FILESDIR}"/${PN}-3.4.2-no-bs-namespace.patch
22 }
23
24 src_configure() {
25 use static && append-ldflags -static
26 default
27 }
28
29 src_install() {
30 into /
31 dobin tempfile run-parts
32 if use kernel_linux ; then
33 dosbin installkernel
34 fi
35
36 into /usr
37 dosbin savelog
38
39 doman tempfile.1 run-parts.8 savelog.8
40 use kernel_linux && doman installkernel.8
41 cd debian
42 dodoc changelog control
43 keepdir /etc/kernel/postinst.d
44 }

  ViewVC Help
Powered by ViewVC 1.1.20