Magellan Linux

Contents of /smage/branches/alx-0_6_0/extras/pcsc-plugin-ehealth200/pcsc-plugin-ehealth200-1.0.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3435 - (show annotations) (download)
Tue Apr 10 21:18:14 2012 UTC (12 years ago) by niro
File size: 857 byte(s)
-only use our mirrors
1 # $Id$
2
3 PNAME="pcsc-plugin-ehealth200"
4 PVER="1.0.4"
5 PBUILD="r1"
6
7 # download pack version
8 PACK_PVER="1.2"
9
10 PCATEGORIE="sys-apps"
11
12 DESCRIPTION="Tools to test a PC/SC driver, card or reader."
13 HOMEPAGE="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/"
14
15 DEPEND=">= sys-apps/pcsc-lite-1.7"
16 SDEPEND=">= app-arch/unzip-6"
17
18 SRCFILE="eHealth200_Linux_Pack_V${PACK_PVER}.zip"
19 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20
21 sminclude mtools
22
23 SRC_URI=( mirror://${PNAME}/${SRCFILE} )
24
25 src_prepare()
26 {
27 munpack ${SRCFILE} ${SRCDIR} || die
28 cd ${SRCDIR}
29 tar xvzf eHealth200_Linux_CTAPI_V${PVER}_32bit.tar.gz || die
30 }
31
32 src_install()
33 {
34 cd ${SRCDIR}/eHealth200_Linux_CTAPI_V${PVER}_32bit
35 minstalldir /usr/$(mlibdir)/readers/usb || die
36 cp -R proprietary/eHealth200.bundle ${BINDIR}/usr/$(mlibdir)/readers/usb || die
37 cp CTeHealth100/libCT* ${BINDIR}/usr/$(mlibdir) || die
38 }