Contents of /branches/magellan-next/core/debianutils/debianutils-2.30-r4.smage2
Parent Directory | Revision Log
Revision 7579 -
(show annotations)
(download)
Thu May 26 21:51:51 2011 UTC (13 years, 4 months ago) by niro
File size: 1609 byte(s)
Thu May 26 21:51:51 2011 UTC (13 years, 4 months ago) by niro
File size: 1609 byte(s)
auto added: ver bump to 2.30-r4
1 | # $Id$ |
2 | |
3 | PNAME="debianutils" |
4 | PVER="2.30" |
5 | PBUILD="r4" |
6 | |
7 | PCATEGORIE="sys-apps" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Miscellaneous utilities specific to Debian." |
11 | HOMEPAGE="http://packages.debian.org/unstable/utils/debianutils" |
12 | |
13 | DEPEND=">= virtual/glibc |
14 | >= app-arch/bzip2-1.0.5 |
15 | >= sys-apps/coreutils-8" |
16 | |
17 | SDEPEND=">= sys-dev/automake-4 |
18 | >= sys-dev/autoconf-5" |
19 | |
20 | SRCFILE="${PNAME}_${PVER}.tar.gz" |
21 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
22 | |
23 | sminclude mbuild mtools |
24 | |
25 | SRC_URI=( |
26 | http://ftp.debian.org/debian/pool/main/d/${PNAME}/${SRCFILE} |
27 | mirror://${PNAME}/${SRCFILE} |
28 | mirror://${PNAME}/${PNAME}-2.11.2-mkboot-vmlinuz.patch |
29 | mirror://${PNAME}/${PNAME}-2.28.3-savelog-bzip2.patch |
30 | mirror://${PNAME}/${PNAME}-2.28.3-no-bs-namespace.patch |
31 | ) |
32 | |
33 | UP2DATE="updatecmd http://ftp.debian.org/debian/pool/main/d/${PNAME} | grep .tar.gz | sed -n 's/.*_\(.*\).t.*/\1/;$ p'" |
34 | |
35 | src_prepare() |
36 | { |
37 | munpack ${SRCFILE} || die |
38 | cd ${SRCDIR} |
39 | |
40 | mpatch ${PNAME}-2.11.2-mkboot-vmlinuz.patch || die |
41 | mpatch ${PNAME}-2.28.3-savelog-bzip2.patch || die |
42 | |
43 | # allows dots in filenames |
44 | mpatch ${PNAME}-2.28.3-no-bs-namespace.patch || die |
45 | |
46 | } |
47 | |
48 | src_install() |
49 | { |
50 | cd ${SRCDIR} |
51 | |
52 | # needed directories |
53 | minstalldir /bin || die |
54 | minstalldir /usr/sbin || die |
55 | |
56 | # bins |
57 | minstallexec run-parts /bin || die |
58 | minstallexec tempfile /bin || die |
59 | minstallexec savelog /usr/sbin || die |
60 | minstallexec mkboot /usr/sbin || die |
61 | |
62 | # do no install, already provided by sys-apps/mkinitrd |
63 | #minstallexec installkernel /sbin || die |
64 | |
65 | # man-pages |
66 | minstallman tempfile.1 || die |
67 | minstallman {run-parts,savelog,mkboot}.8 || die |
68 | |
69 | # docs |
70 | minstalldocs debian/{changelog,copyright} || die |
71 | } |