opt/keyutils/Pkgfile

21 lines
596 B
Plaintext
Raw Normal View History

2020-09-26 15:10:17 +02:00
# Description: Tools to control the Linux key management system
2019-08-10 19:04:31 +02:00
# URL: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/
2011-07-07 16:56:21 +02:00
# Maintainer: Juergen Daubert, jue at crux dot nu
name=keyutils
2020-07-21 13:51:44 +02:00
version=1.6.3
2019-08-10 19:04:31 +02:00
release=1
source=(https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/$name-$version.tar.gz)
2011-07-07 16:56:21 +02:00
build () {
cd $name-$version
2014-02-22 19:39:56 +01:00
sed -i "/^CFLAGS/s/-g/$CFLAGS/" Makefile
2014-02-22 19:39:56 +01:00
make
2016-10-29 12:22:22 +02:00
make install DESTDIR=$PKG USRLIBDIR=/usr/lib LIBDIR=/lib
mv $PKG/lib/pkgconfig $PKG/usr/lib
chmod 0644 $PKG/usr/lib/pkgconfig/libkeyutils.pc
2011-07-07 16:56:21 +02:00
}