Magellan Linux

Annotation of /smage/branches/alx-0_6_0/extras/pcsc-plugin-ehealth200/pcsc-plugin-ehealth200-1.0.4-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3496 - (hide annotations) (download)
Tue Apr 17 12:00:41 2012 UTC (12 years ago) by niro
File size: 1353 byte(s)
-fixed installation
1 niro 3496 # $Id$
2    
3     PNAME="pcsc-plugin-ehealth200"
4     PVER="1.0.4"
5     PBUILD="r2"
6    
7     # download pack version
8     PACK_PVER="1.2"
9     CTAPI_PVER="1.0.2"
10    
11     PCATEGORIE="sys-apps"
12    
13     DESCRIPTION="Tools to test a PC/SC driver, card or reader."
14     HOMEPAGE="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/"
15    
16     DEPEND=">= sys-apps/pcsc-lite-1.7"
17     SDEPEND=">= app-arch/unzip-6"
18    
19     SRCFILE="eHealth200_Linux_Pack_V${PACK_PVER}.zip"
20     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21    
22     sminclude mtools
23    
24     SRC_URI=( mirror://${PNAME}/${SRCFILE} )
25    
26     src_prepare()
27     {
28     munpack ${SRCFILE} ${SRCDIR} || die
29     cd ${SRCDIR}
30     tar xvzf eHealth200_Linux_CTAPI_V${PVER}_32bit.tar.gz || die
31     }
32    
33     src_install()
34     {
35     cd ${SRCDIR}/eHealth200_Linux_CTAPI_V${PVER}_32bit
36     minstalldir /usr/$(mlibdir)/readers/usb/eHealth200.bundle/Contents/Linux || die
37     minstallfile proprietary/eHealth200.bundle/Contents/Info.plist \
38     /usr/$(mlibdir)/readers/usb/eHealth200.bundle/Contents/ || die
39     minstallexec proprietary/eHealth200.bundle/Contents/Linux/libeHealth200.so.1.0.4 \
40     /usr/$(mlibdir)/readers/usb/eHealth200.bundle/Contents/Linux/ || die
41     minstallexec CTeHealth100/libCT_eHealth100-${CTAPI_PVER}.so /usr/$(mlibdir)/ || die
42     minstallfile CTeHealth100/libCT_eHealth100-${CTAPI_PVER}.a /usr/$(mlibdir)/ || die
43     mlink libCT_eHealth100-${CTAPI_PVER}.so /usr/$(mlibdir)/libCT_eHealth100.so || die
44    
45     minstalldocs proprietary/LICENSE || die
46     }