Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17485 - New libchipcard ebuil (0.8.1)
Summary: New libchipcard ebuil (0.8.1)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Matt Keadle
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-14 03:43 UTC by Aris Basic
Modified: 2003-05-13 12:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.