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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Fri Dec 20 18:59:47 2002 UTC (17 years, 6 months ago) by tuxus
Branch: MAIN
CVS Tags: GENTOO_1_4_SNAP_2003010800
Changes since 1.8: +2 -2 lines
Added mips to keywords

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 S=${WORKDIR}/${P}
6 DESCRIPTION="A selection of tools from Debian"
7 SRC_URI="http://ftp.debian.org/debian/pool/main/d/${PN}/${PN}_${PV}.tar.gz"
8 HOMEPAGE="http://packages.debian.org/unstable/base/debianutils.html"
9
10 KEYWORDS="x86 ppc sparc alpha mips"
11 SLOT="0"
12 LICENSE="GPL-2 BSD SMAIL"
13 IUSE="static build"
14
15 DEPEND="virtual/glibc"
16
17 src_unpack() {
18 unpack ${A}
19
20 cd ${S}
21 patch -p0 < ${FILESDIR}/${P}-Makefile-gentoo.diff || die
22
23 # Make installkernel and mkboot more Gentoo friendly
24 # <azarah@gentoo.org> (25 Sep 2002)
25 patch -p1 < ${FILESDIR}/${P}-gentoo.patch || die
26 }
27
28 src_compile() {
29 if [ -z "`use static`" ]
30 then
31 pmake || die
32 else
33 pmake LDFLAGS=-static || die
34 fi
35 }
36
37 src_install() {
38 into /
39 dobin readlink tempfile mktemp
40
41 if [ -z "`use build`" ]
42 then
43 dobin run-parts
44 insopts -m755
45 exeinto /usr/sbin
46 doexe savelog
47 dosbin installkernel
48 into /usr
49 dosbin mkboot
50
51 into /usr
52 doman mktemp.1 readlink.1 tempfile.1 run-parts.8 savelog.8 \
53 installkernel.8 mkboot.8
54
55 cd debian
56 dodoc changelog control copyright
57 fi
58 }

  ViewVC Help
Powered by ViewVC 1.1.20