pcsc-acsccid: use vinstall; install docs to /usr/share/doc.
This commit is contained in:
parent
24bf0d17a2
commit
6bf0634bcd
1 changed files with 7 additions and 11 deletions
|
@ -1,8 +1,7 @@
|
|||
# Template file for 'pcsc-acsccid'
|
||||
pkgname=pcsc-acsccid
|
||||
_origname=acsccid
|
||||
version=1.0.6
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
||||
homepage="http://acsccid.sourceforge.net"
|
||||
|
@ -12,15 +11,12 @@ configure_args="--enable-udev"
|
|||
hostmakedepends="pkg-config flex perl"
|
||||
makedepends="pcsclite-devel libudev-devel libusb-compat-devel"
|
||||
depends="pcsclite"
|
||||
distfiles="${SOURCEFORGE_SITE}/${_origname}/${_origname}-${version}.tar.bz2"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname/pcsc-/}/${pkgname/pcsc-/}-${version}.tar.bz2"
|
||||
checksum="6079b87228ac2411cce2ee1111db12cb08e3d774b8f3cfd38ed6e5d27071387e"
|
||||
wrksrc=${_origname}-${version}
|
||||
wrksrc=${pkgname/pcsc-/}-${version}
|
||||
|
||||
do_install(){
|
||||
make DESTDIR=${DESTDIR} install
|
||||
mkdir -p ${DESTDIR}/usr/share/${pkgname}
|
||||
mkdir -p ${DESTDIR}/usr/lib/udev/rules.d
|
||||
cp ${wrksrc}/src/92_pcscd_acsccid.rules ${DESTDIR}/usr/lib/udev/rules.d/
|
||||
cp ${wrksrc}/src/supported_readers.txt ${DESTDIR}/usr/share/${pkgname}
|
||||
cp ${wrksrc}/README ${DESTDIR}/usr/share/${pkgname}
|
||||
post_install() {
|
||||
vinstall src/92_pcscd_acsccid.rules 644 usr/lib/udev/rules.d/
|
||||
vinstall src/supported_readers.txt 644 usr/share/doc/${pkgname}
|
||||
vinstall README 644 usr/share/doc/${pkgname}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue