Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 17485

Summary: New libchipcard ebuil (0.8.1)
Product: Gentoo Linux Reporter: Aris Basic <aris.basic>
Component: New packagesAssignee: Matt Keadle <mkeadle>
Status: RESOLVED FIXED    
Severity: normal CC: hanno
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Aris Basic 2003-03-14 03:43:16 UTC
# Removed qt and kde usage/dependecy
# KDE and QT tools are in different package
# Added sys-apps/pcsc-lite usage/dependecy

S=${WORKDIR}/${P}
DESCRIPTION="Libchipcard is a library for easy access to chip cards via chip
card readers (terminals)."
SRC_URI="mirror://sourceforge/libchipcard/${P}.tar.gz"
HOMEPAGE="http://www.libchipcard.de"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE="ssl pcsc"

DEPEND="virtual/glibc
        ssl? ( dev-libs/openssl )
        pcsc? ( sys-apps/pcsc-lite )"
src_compile() {

        local myconf
        use pcsc  || myconf="${myconf} --disable-pcsc"
        use ssl || myconf="${myconf} --disable-ssl"
        econf ${myconf} || die
        emake || die

}

src_install () {

        make DESTDIR=${D} chroot_dir=${D} install || die
        rm -rf ${D}/var
}
Comment 1 Hanno Böck gentoo-dev 2003-05-13 12:21:22 UTC
Can you please submit ebuilds as an attachement in the future?

The problem with your ebuild is that pcsc is no valid useflag. I have now created a pcsc-disabled ebuild for libchipcard. If anyone really needs it with pcsc-support, we could create a local useflag, but I would like to avoid this.