blob: d7c396dbd663eb9138c45e983d2f798af68bfe24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $Id: PKGBUILD 10319 2008-08-26 04:36:19Z allan $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=util-linux-ng
pkgver=2.14
pkgrel=1
pkgdesc="Miscellaneous system utilities for Linux"
arch=('i686' 'x86_64')
groups=('base')
depends=('bash' 'ncurses>=5.6-7' 'zlib' 'e2fsprogs')
replaces=('linux32' 'util-linux')
conflicts=('linux32' 'util-linux')
provides=('linux32' 'util-linux')
license=('GPL')
source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v2.14/${pkgname}-${pkgver}.tar.bz2
http://loop-aes.sourceforge.net/updates/util-linux-ng-2.14-20080624.diff.bz2)
md5sums=('23f227da49df36f33fe47e917e332cd8'
'e76c888bd140d7bd5bbd5f5b098bc1e7')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
#./autogen.sh
# cryptoloop support
patch -Np1 -i ${startdir}/src/util-linux-ng-2.14-20080624.diff || return 1
sed -e 's%etc/adjtime%var/lib/hwclock/adjtime%' -i hwclock/hwclock.c
mkdir -p ${startdir}/pkg/var/lib/hwclock
./configure --enable-arch --enable-write --enable-raw --disable-wall --enable-rdev
make HAVE_SLN=yes ADD_RAW=yes || return 1
make HAVE_SLN=yes ADD_RAW=yes DESTDIR=${startdir}/pkg install
rm -f ${startdir}/pkg/bin/kill
rm -f ${startdir}/pkg/usr/share/man/man1/kill.1
rm -f ${startdir}/pkg/usr/share/man/man5/nfs.5
rm -f ${pkgdir}/usr/share/info/dir
}
|