CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
linux-pam: move pkgconfig files from /lib to /usr/lib
authorVictor Martinez <pitillo@ono.com>
Wed, 22 Sep 2021 19:53:55 +0000 (21:53 +0200)
committerVictor Martinez <pitillo@ono.com>
Wed, 22 Sep 2021 19:53:55 +0000 (21:53 +0200)
linux-pam/Pkgfile

index 743ad86350e5dd8abf92e8801a24935f04a26705..20b34553c8ef4c74c7daa2bbf108966568870d9d 100644 (file)
@@ -5,22 +5,26 @@
 
 name=linux-pam
 version=1.5.2
-release=1
+release=2
 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}
 }