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