diff options
Diffstat (limited to 'sys-libs/chipcard-server/chipcard-server-1.9.6_beta.ebuild')
-rw-r--r-- | sys-libs/chipcard-server/chipcard-server-1.9.6_beta.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/sys-libs/chipcard-server/chipcard-server-1.9.6_beta.ebuild b/sys-libs/chipcard-server/chipcard-server-1.9.6_beta.ebuild new file mode 100644 index 000000000000..ed8e182ed033 --- /dev/null +++ b/sys-libs/chipcard-server/chipcard-server-1.9.6_beta.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/chipcard-server/chipcard-server-1.9.6_beta.ebuild,v 1.1 2004/12/21 19:17:37 hanno Exp $ + +MY_P="chipcard2_server-${PV/_/}" +DESCRIPTION="2nd generation of the chipcard-reader-utility" +HOMEPAGE="http://www.libchipcard.de" +SRC_URI="mirror://sourceforge/libchipcard/${MY_P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="debug ssl usb" + +DEPEND=">=sys-libs/gwenhywfar-1.2.1 + ssl? ( >=dev-libs/openssl-0.9.6b ) + usb? ( dev-libs/libusb )" + + +S=${WORKDIR}/${MY_P} + +src_compile() { + + # Fix location of pid file + sed -i -e \ + 's:\$(localstatedir)/run/chipcard2:/var/run:g' configure + + econf \ + `use_enable ssl` \ + `use_enable debug` \ + `use_enable usb libusb` \ + --enable-pcsc || die + + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + doinitd ${FILESDIR}/chipcardd2 + dodoc INSTALL COPYING AUTHORS ChangeLog README + insinto /etc/chipcard2-server + doins ${S}/doc/chipcardd2.conf.example + doins ${S}/doc/chipcardd2.conf.minimal + cp ${D}/etc/chipcard2-server/chipcardd2.conf.minimal \ + ${D}/etc/chipcard2-server/chipcardd2.conf +} |