From a7161ed066f56baa0c3a44e3da4f3f22ca3b1796 Mon Sep 17 00:00:00 2001 From: onekk Date: Thu, 22 May 2014 17:29:05 +0200 Subject: [PATCH] pensc: modified template file to tidy it up and added a configure flag to make it more complete. Regards Carlo --- common/shlibs | 4 +++- srcpkgs/opensc/template | 21 +++++++++------------ 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/common/shlibs b/common/shlibs index d954a7aca6..15544d18ff 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1623,5 +1623,7 @@ libgtest.so.0 gmock-1.7.0_1 libgtest_main.so.0 gmock-1.7.0_1 libgmock.so.0 gmock-1.7.0_1 libgmock_main.so.0 gmock-1.7.0_1 -libopensc.so.3 libopensc-0.13.0_1 +libopensc.so.3 libopensc-0.13.0_2 +libsmm-local.so.3 libopensc-0.13.0_2 + diff --git a/srcpkgs/opensc/template b/srcpkgs/opensc/template index 45200cd95a..875985d160 100644 --- a/srcpkgs/opensc/template +++ b/srcpkgs/opensc/template @@ -2,26 +2,25 @@ pkgname=opensc version=0.13.0 -revision=1 +revision=2 build_style=gnu-configure maintainer="Carlo Dormeletti " homepage="https://github.com/OpenSC/OpenSC/wiki" license="LGPL-2.1" -short_desc="OpenSC – tools and libraries for smart cards" -hostmakedepends="pkg-config" -makedepends="readline-devel pcsclite-devel openssl-devel libltdl-devel - zlib-devel docbook-xsl libxslt-devel" -depends="libpcsclite " -configure_args="--enable-man --enable-doc --with-xsl-stylesheetsdir=${XBPS_CROSS_BASE}/usr/share/xsl/docbook" +short_desc="Tools and libraries for smart cards" +hostmakedepends="pkg-config docbook-xsl libxslt-devel" +makedepends="readline-devel pcsclite-devel openssl-devel zlib-devel" +configure_args="--enable-man --enable-sm --enable-static=no --enable-doc + --with-xsl-stylesheetsdir=${XBPS_CROSS_BASE}/usr/share/xsl/docbook" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum="abde46ae53b12b3273e40c532ffd4f7d423a51e0919a5234761453c17c089b14" conf_files="/etc/opensc.conf" opensc-pkcs11_package() { short_desc+=" - pkcs11 library" - depends="libopensc>=${version}" + #depends="libopensc>=${version}" pkg_install() { - vmove "usr/lib/pkcs11/*" + vmove "usr/lib/pkcs11" vmove "usr/lib/opensc-pkcs11*" vmove "usr/lib/pkcs11-spy.so" } @@ -31,10 +30,8 @@ libopensc_package() { short_desc+=" - library files" pkg_install() { vmove "usr/lib/libopensc.so*" + vmove "usr/lib/libsmm-local.so*" } } -post_install(){ - rm ${DESTDIR}/usr/lib/libopensc.a -} # vim: set ts=4 sw=4 sts=4 et: