CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
keyutils: updated to 1.6.3
[ports/opt-arm.git] / keyutils / Pkgfile
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 # Depends on: krb5
6
7 name=keyutils
8 version=1.6.3
9 release=1
10 source=(https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/$name-$version.tar.gz)
11
12 build () {
13 cd $name-$version
14
15 # remove -m32 flag
16 sed -i 's|CFLAGS.*-m32$||' Makefile
17
18 sed -i "/^CFLAGS/s/-g/$CFLAGS/" Makefile
19 make
20 make install DESTDIR=$PKG USRLIBDIR=/usr/lib LIBDIR=/lib
21
22 mv $PKG/lib/pkgconfig $PKG/usr/lib
23 chmod 0644 $PKG/usr/lib/pkgconfig/libkeyutils.pc
24 }