CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
keyutils: fix location of libkeyutils.pc
[ports/opt-arm.git] / keyutils / Pkgfile
CommitLineData
ac26dadb
VM
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
d1765b17 5# Depends on: krb5
ac26dadb
VM
6
7name=keyutils
da3a2488 8version=1.6
f2f3e930 9release=2
ac26dadb
VM
10source=(http://people.redhat.com/~dhowells/$name/$name-$version.tar.bz2)
11
12build () {
13 cd $name-$version
a0477cc2
JB
14
15 # remove -m32 flag
16 sed -i 's|CFLAGS.*-m32$||' Makefile
17
95f15642
VM
18 sed -i "/^CFLAGS/s/-g/$CFLAGS/" Makefile
19 make
0f8955ab 20 make install DESTDIR=$PKG USRLIBDIR=/usr/lib LIBDIR=/lib
f2f3e930
VM
21
22 mv $PKG/lib/pkgconfig $PKG/usr/lib
23 chmod 0644 $PKG/usr/lib/pkgconfig/libkeyutils.pc
ac26dadb 24}