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 3434 - (show annotations) (download)
Tue Apr 10 21:15:53 2012 UTC (12 years, 2 months ago) by niro
File size: 918 byte(s)
-fixed again
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=(
24 "http://ehealth.scmmicro.com/download.php?file=${SRCFILE}"
25 mirror://${PNAME}/${SRCFILE}
26 )
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} ${SRCDIR} || die
31 cd ${SRCDIR}
32 tar xvzf eHealth200_Linux_CTAPI_V${PVER}_32bit.tar.gz || die
33 }
34
35 src_install()
36 {
37 cd ${SRCDIR}/eHealth200_Linux_CTAPI_V${PVER}_32bit
38 minstalldir /usr/$(mlibdir)/readers/usb || die
39 cp -R proprietary/eHealth200.bundle ${BINDIR}/usr/$(mlibdir)/readers/usb || die
40 cp CTeHealth100/libCT* ${BINDIR}/usr/$(mlibdir) || die
41 }