Magellan Linux

Annotation of /branches/magellan-0_10_0/core/util-linux/util-linux-2.15-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3000 - (hide annotations) (download)
Mon Oct 5 18:47:41 2009 UTC (14 years, 8 months ago) by niro
File size: 1729 byte(s)
created branch 'magellan-0_10_0'
1 niro 1766 # $Id$
2    
3     PNAME="util-linux"
4     PVER="2.15"
5     PBUILD="r2"
6    
7     PCATEGORIE="sys-apps"
8     STATE="unstable"
9    
10     DESCRIPTION="Various useful Linux utilities."
11     HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux-ng/"
12    
13     DEPEND=">= virtual/glibc
14     >= sys-libs/ncurses-5.7
15     >= sys-fs/e2fsprogs-1.41"
16    
17     SDEPEND=">= virtual/kernel-headers
18     >= sys-apps/sed-4
19     >= sys-dev/gettext-0.17"
20    
21     SRCFILE="${PNAME}-ng-${PVER}.tar.bz2"
22     SRCDIR="${BUILDDIR}/${PNAME}-ng-${PVER}"
23    
24     sminclude mtools multilib
25    
26     SRC_URI=(
27     http://www.kernel.org/pub/linux/utils/${PNAME}-ng/v${PVER/%.?/}/${SRCFILE}
28     mirror://${PNAME}/${SRCFILE}
29     )
30    
31     UP2DATE="updatecmd \"${HOMEPAGE}/v$(updatecmd ${HOMEPAGE} | grep v.*/ | sed -n 's/.*v\(.*\)\/.*/\1/;$ p')/?C=M;O=A\" | grep -v 'rc' | lasttarball"
32    
33     src_prepare()
34     {
35     munpack ${SRCFILE} || die
36    
37     # fhs compatibility
38     all-abis sed -i 's:etc/adjtime:var/lib/hwclock/adjtime:' hwclock/hwclock.c || die
39     }
40    
41     src_compile()
42     {
43     cd ${SRCDIR}
44    
45     # we are using blkid from util linux now (--with-fsprobe=built --enable-fsck)
46     # which merges the old blkid from e2fsprogs and udevs libvolume
47     # see: http://lists.freedesktop.org/archives/hal-commit/2009-May/004936.html
48     mconfigure \
49     --without-pam \
50     --with-fsprobe=builtin \
51     --enable-nls \
52     --enable-agetty \
53     --enable-cramfs \
54     --enable-partx \
55     --enable-raw \
56     --enable-rdev \
57     --enable-rename \
58     --enable-schedutils \
59     --enable-write \
60     --disable-reset \
61     --disable-login-utils \
62     --disable-init \
63     --disable-kill \
64     --disable-last \
65     --disable-mesg \
66     --disable-wall \
67     --enable-fsck \
68     || die
69    
70     mmake || die
71     }
72    
73     src_install()
74     {
75     # needed directories
76     mkeepdir /var/lib/hwclock || die
77    
78     mmake DESTDIR=${BINDIR} install || die
79     minstalldocs HISTORY MAINTAINER README VERSION || die
80     }

Properties

Name Value
svn:keywords Id