Magellan Linux

Annotation of /branches/magellan-next/core/util-linux/util-linux-2.19.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7541 - (hide annotations) (download)
Thu May 26 19:58:08 2011 UTC (12 years, 11 months ago) by niro
File size: 1805 byte(s)
auto added: ver bump to 2.19.1-r1
1 niro 7541 # $Id$
2    
3     PNAME="util-linux"
4     PVER="2.19.1"
5     PBUILD="r1"
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.9
15     >= sys-fs/e2fsprogs-1.41"
16    
17     SDEPEND=">= virtual/kernel-headers
18     >= sys-apps/sed-4
19     >= sys-dev/gettext-0.18"
20    
21     SRCFILE="${PNAME}-${PVER}.tar.bz2"
22     SRCDIR="${BUILDDIR}/${PNAME}-${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     # regen configure
41     autoreconf --verbose --install --force || die
42     }
43    
44     src_compile()
45     {
46     # we are using blkid from util linux now (--with-fsprobe=built --enable-fsck)
47     # which merges the old blkid from e2fsprogs and udevs libvolume
48     # see: http://lists.freedesktop.org/archives/hal-commit/2009-May/004936.html
49     mconfigure \
50     --without-pam \
51     --with-fsprobe=builtin \
52     --enable-nls \
53     --enable-agetty \
54     --enable-cramfs \
55     --enable-partx \
56     --enable-raw \
57     --enable-rdev \
58     --enable-rename \
59     --enable-schedutils \
60     --enable-write \
61     --disable-reset \
62     --disable-login-utils \
63     --disable-init \
64     --disable-kill \
65     --disable-last \
66     --disable-mesg \
67     --disable-wall \
68     --enable-fsck \
69     --disable-silent-rules \
70     || die
71    
72     mmake || die
73     }
74    
75     src_install()
76     {
77     # needed directories
78     mkeepdir /var/lib/hwclock || die
79    
80     mmake DESTDIR=${BINDIR} install || die
81     minstalldocs HISTORY MAINTAINER README VERSION || die
82     }