From 015e5fd7c936ec86cee5dee314648fe521be03b6 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 12 Jun 2018 22:49:00 -0300 Subject: [PATCH] pam-mount: move pkgconfig file to -devel package. Closes #15104. Signed-off-by: Enno Boland --- srcpkgs/pam-mount/template | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/srcpkgs/pam-mount/template b/srcpkgs/pam-mount/template index c6ca84a0ab4..d6ada7dd38f 100644 --- a/srcpkgs/pam-mount/template +++ b/srcpkgs/pam-mount/template @@ -1,34 +1,36 @@ # Template file for 'pam-mount' pkgname=pam-mount version=2.16 -revision=2 -wrksrc=pam_mount-$version +revision=3 +wrksrc="pam_mount-${version}" build_style=gnu-configure configure_args="--with-ssbindir=/usr/bin --with-slibdir=/usr/lib" -conf_files="/etc/security/pam_mount.conf.xml" -hostmakedepends="pkg-config perl" -makedepends="libHX-devel libmount-devel libxml2-devel pcre-devel pam-devel cryptsetup-devel" -depends="pam hxtools" +hostmakedepends="perl pkg-config" +makedepends="cryptsetup-devel libHX-devel libmount-devel libxml2-devel pam-devel + pcre-devel" +depends="hxtools pam" short_desc="PAM module that can mount volumes for a user session" -maintainer="Toyam Cox " -license="GPL-3" +maintainer="Toyam Cox " +license="GPL-3.0-or-later" homepage="http://pam-mount.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/pam-mount/pam_mount/${version}/pam_mount-${version}.tar.xz" checksum=ae0207ea6c96189414f906a7b0880abc7751a98e26b3d0375c9afab3722471e7 +conf_files="/etc/security/pam_mount.conf.xml" libpam-mount_package() { short_desc+=" - runtime library" pkg_install() { - vmove usr/lib/*.so.* - vmove usr/lib/security/*.so* + vmove "usr/lib/libcryptmount.so.*" + vmove usr/lib/security } } libpam-mount-devel_package() { short_desc+=" - development files" - depends="libpam-mount>=${version}_${revision}" + depends="libpam-mount-${version}_${revision}" pkg_install() { - vmove usr/include/*.h - vmove usr/lib/*.so + vmove usr/include/ + vmove "usr/lib/*.so" + vmove usr/lib/pkgconfig } }