blob: f910071d31d0980ad34a73ea180db21145102831 (
plain)
1 # Description: Tools to control the Linux key management system
2 # URL: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4
5 name=keyutils
6 version=1.6.3
7 release=1
8 source=(https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/$name-$version.tar.gz)
9
10 build () {
11 cd $name-$version
12
13 sed -i "/^CFLAGS/s/-g/$CFLAGS/" Makefile
14
15 make
16 make install DESTDIR=$PKG USRLIBDIR=/usr/lib LIBDIR=/lib
17
18 mv $PKG/lib/pkgconfig $PKG/usr/lib
19 chmod 0644 $PKG/usr/lib/pkgconfig/libkeyutils.pc
20 }
|