Contents of /smage/trunk/core/util-linux/util-linux-2.13.1-r1.smage2
Parent Directory | Revision Log
Revision 6 -
(show annotations)
(download)
Sun Jan 11 01:07:49 2009 UTC (15 years, 5 months ago) by niro
File size: 1355 byte(s)
Sun Jan 11 01:07:49 2009 UTC (15 years, 5 months ago) by niro
File size: 1355 byte(s)
-fixed old cvs headers
1 | # $Id$ |
2 | |
3 | PNAME="util-linux" |
4 | PVER="2.13.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.6 |
15 | >= sys-fs/e2fsprogs-1.40" |
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 alx |
25 | |
26 | SRC_URI=( |
27 | http://www.kernel.org/pub/linux/utils/${PNAME}-ng/v${PVER/%.?/}/${SRCFILE} |
28 | mirror://${PNAME}/${SRCFILE} |
29 | ) |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | cd ${SRCDIR} |
35 | |
36 | # fhs compatibility |
37 | sed -i 's:etc/adjtime:var/lib/hwclock/adjtime:' hwclock/hwclock.c || die |
38 | } |
39 | |
40 | src_compile() |
41 | { |
42 | cd ${SRCDIR} |
43 | |
44 | mconfigure \ |
45 | --without-pam \ |
46 | --with-fsprobe=blkid \ |
47 | --enable-nls \ |
48 | --enable-agetty \ |
49 | --enable-cramfs \ |
50 | --enable-partx \ |
51 | --enable-raw \ |
52 | --enable-rdev \ |
53 | --enable-rename \ |
54 | --enable-schedutils \ |
55 | --enable-write \ |
56 | --disable-reset \ |
57 | --disable-login-utils \ |
58 | --disable-init \ |
59 | --disable-kill \ |
60 | --disable-last \ |
61 | --disable-mesg \ |
62 | --disable-wall \ |
63 | || die |
64 | |
65 | mmake || die |
66 | } |
67 | |
68 | src_install() |
69 | { |
70 | cd ${SRCDIR} |
71 | # needed directories |
72 | mkeepdir /var/lib/hwclock || die |
73 | |
74 | mmake DESTDIR=${BINDIR} install || die |
75 | minstalldocs HISTORY MAINTAINER README VERSION || die |
76 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |