CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
kbd: updated to 2.5.0
[ports/core-arm64.git] / linux-pam / Pkgfile
index 743ad86350e5dd8abf92e8801a24935f04a26705..347a963cc301847d1406750e6fd7a8722da238fd 100644 (file)
@@ -5,22 +5,26 @@
 
 name=linux-pam
 version=1.5.2
-release=1
+release=3
 source=(https://github.com/$name/$name/releases/download/v${version}/Linux-PAM-$version.tar.xz \
     common-account common-auth common-password common-session \
     other)
 
 build() {
   cd Linux-PAM-$version
-  CONFIG_SHELL=/bin/bash ./configure --prefix=/usr \
-                --libdir=/lib \
-                --disable-nis \
-                --disable-nls \
-                --disable-prelude \
-                --enable-db=no
+  CONFIG_SHELL=/bin/bash ./configure \
+    --prefix=/usr \
+    --libdir=/lib \
+    --disable-nis \
+    --disable-nls \
+    --disable-prelude \
+    --enable-db=no
+
   make
   make DESTDIR=$PKG install
 
+  mv $PKG/lib/pkgconfig $PKG/usr/lib
+
   # unix_chkpwd needs to be setuid root
   chmod u+s $PKG/sbin/unix_chkpwd
 
@@ -29,5 +33,5 @@ build() {
                 $SRC/{common-*,other} \
                 $PKG/etc/pam.d/
 
-  rm -r $PKG/usr/{lib,share/doc}
+  rm -r $PKG/usr/{lib/systemd,share/doc}
 }