CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
python: updated to 2.7.17
[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
134449e1
VM
8version=1.6.1
9release=1
10source=(https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/$name-$version.tar.gz)
ac26dadb
VM
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}