Annotation of /branches/R11-unstable/core/debianutils/debianutils-4.4-r1.smage2
Parent Directory | Revision Log
Revision 18695 -
(hide annotations)
(download)
Tue Aug 6 11:49:46 2013 UTC (11 years, 1 month ago) by niro
Original Path: trunk/core/debianutils/debianutils-4.4-r1.smage2
File size: 1016 byte(s)
Tue Aug 6 11:49:46 2013 UTC (11 years, 1 month ago) by niro
Original Path: trunk/core/debianutils/debianutils-4.4-r1.smage2
File size: 1016 byte(s)
auto added: ver bump to 4.4-r1
1 | niro | 18695 | # $Id$ |
2 | |||
3 | PNAME="debianutils" | ||
4 | PVER="4.4" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="sys-apps" | ||
8 | |||
9 | DESCRIPTION="Provides run-parts, savelog, ischroot, add-shell, remove-shell, tempfile." | ||
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 | PROVIDE="virtual/debianutils" | ||
20 | |||
21 | SRCFILE="${PNAME}_${PVER}.tar.gz" | ||
22 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
23 | |||
24 | sminclude mbuild | ||
25 | |||
26 | SRC_URI=( | ||
27 | http://ftp.debian.org/debian/pool/main/d/${PNAME}/${SRCFILE} | ||
28 | mirror://${PNAME}/${SRCFILE} | ||
29 | mirror://${PNAME}/${PNAME}-4.1-no-which.patch | ||
30 | mirror://${PNAME}/${PNAME}-4.1-no-installkernel.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 | # disable which and installkernel | ||
41 | mpatch ${PNAME}-4.1-no-which.patch || die | ||
42 | mpatch ${PNAME}-4.1-no-installkernel.patch || die | ||
43 | |||
44 | mautoreconf || die | ||
45 | } |