CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
keyutils: fixed build removing -m32 flag
[ports/opt-arm.git] / keyutils / Pkgfile
... / ...
CommitLineData
1# Description: Tools to control the Linx key management system
2# URL: http://www.kernel.org/
3# Maintainer: Juergen Daubert, jue at crux dot nu
4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5
6name=keyutils
7version=1.5.3
8release=1
9source=(http://people.redhat.com/~dhowells/$name/$name-$version.tar.bz2)
10
11build () {
12 cd $name-$version
13 # We remove -m32 flag
14 sed "59d" -i Makefile
15 sed -i "/^MAN[1-9]/s|share/||;/^CFLAGS/s/-g/$CFLAGS/;s|/lib64|/lib|" Makefile
16 make -j1
17 make DESTDIR=$PKG install
18}