Contents of /trunk/extras/libchipcard/libchipcard-2.1.9-r1.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1236 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1236 byte(s)
import repo
1 | # $Header: /magellan-cvs/smage/libchipcard/libchipcard-0.9.1-r3.smage2,v 1.3 2006/05/30 22:58:00 niro Exp $ |
2 | |
3 | PNAME="libchipcard" |
4 | PVER="2.1.9" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="sys-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="libchipcard is a library for easy access to chip cards via chip card readers." |
11 | HOMEPAGE="http://www.libchipcard.de/" |
12 | |
13 | DEPEND=">= virtual/glibc |
14 | >= dev-libs/openssl-0.9.8" |
15 | |
16 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | sminclude mbuild mtools |
20 | |
21 | SRC_URI=( |
22 | sourceforge://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/chipcardd.rc |
25 | ) |
26 | |
27 | src_compile() |
28 | { |
29 | cd ${SRCDIR} |
30 | |
31 | mconfigure \ |
32 | --with-client-cfg-file=/etc \ |
33 | --with-server-cfg-file=/etc \ |
34 | --with-pid-dir=/var/run \ |
35 | --with-log-dir=/var/log \ |
36 | --disable-full-doc \ |
37 | --disable-pcsc \ |
38 | --enable-ssl \ |
39 | --with-openssl-libs=/usr/$(mlibdir) \ |
40 | || die |
41 | |
42 | mmake || die |
43 | } |
44 | |
45 | src_install() |
46 | { |
47 | cd ${SRCDIR} |
48 | |
49 | make DESTDIR=${BINDIR} chroot_dir=${BINDIR} install || die |
50 | |
51 | # install our initscript |
52 | minstallrc chipcardd.rc chipcardd || die |
53 | |
54 | # make sure an /var does not exists to not override our perms |
55 | [ -d ${BINDIR}/var ] && rm -rf ${BINDIR}/var || die |
56 | |
57 | minstalldocs AUTHORS COPYING* ChangeLog FAQ NEWS README* THANKS TODO || die |
58 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |