Magellan Linux

Contents of /branches/R11-unstable/core/debianutils/debianutils-4.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24942 - (show annotations) (download)
Tue Nov 25 02:41:14 2014 UTC (9 years, 5 months ago) by niro
File size: 1016 byte(s)
-release branches/R11-unstable
1 # $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 }