CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
keyutils: updated to 1.6.1
[ports/opt-arm.git] / keyutils / Pkgfile
index 60521d5489d50fdcf703aacffe3c5d1f88cd1028..79c87956179ae8d0179fddc214a49a2e2fe6c7f7 100644 (file)
@@ -2,11 +2,12 @@
 # URL: http://www.kernel.org/
 # Maintainer: Juergen Daubert, jue at crux dot nu
 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: krb5
 
 name=keyutils
-version=1.5.9
+version=1.6.1
 release=1
-source=(http://people.redhat.com/~dhowells/$name/$name-$version.tar.bz2)
+source=(https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/$name-$version.tar.gz)
 
 build () {
   cd $name-$version
@@ -16,5 +17,8 @@ build () {
 
   sed -i "/^CFLAGS/s/-g/$CFLAGS/" Makefile
   make
-  make install DESTDIR=$PKG MANDIR=/usr/man USRLIBDIR=/usr/lib LIBDIR=/lib
+  make install DESTDIR=$PKG USRLIBDIR=/usr/lib LIBDIR=/lib
+
+  mv $PKG/lib/pkgconfig $PKG/usr/lib
+  chmod 0644 $PKG/usr/lib/pkgconfig/libkeyutils.pc
 }