CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
nss: update to 3.35
[ports/opt-arm.git] / keyutils / Pkgfile
index 7446f46c860e063169dc60967d1e132d7dd37fe5..f9a2066d0e926593e08ab58d8cc1ab3e1cccbefa 100644 (file)
@@ -4,7 +4,7 @@
 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 
 name=keyutils
-version=1.5.8
+version=1.5.10
 release=1
 source=(http://people.redhat.com/~dhowells/$name/$name-$version.tar.bz2)
 
@@ -14,8 +14,7 @@ build () {
   # remove -m32 flag
   sed -i 's|CFLAGS.*-m32$||' Makefile
 
-  sed -i "/^MAN[1-9]/s|share/||;/^CFLAGS/s/-g/$CFLAGS/;s|/lib64|/lib|" Makefile
-
-  make -j1
-  make DESTDIR=$PKG install
+  sed -i "/^CFLAGS/s/-g/$CFLAGS/" Makefile
+  make
+  make install DESTDIR=$PKG USRLIBDIR=/usr/lib LIBDIR=/lib
 }