ccid, pcsc-lite.
This commit is contained in:
@@ -2,30 +2,24 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import mesontools, pisitools
|
||||
|
||||
i = ''.join([
|
||||
' --prefix=/usr',
|
||||
' -Dclass=true',
|
||||
' -Dserial=true',
|
||||
' -Denable-extras=true '
|
||||
])
|
||||
|
||||
def setup():
|
||||
autotools.configure("--enable-twinserial \
|
||||
--enable-serialconfdir=/etc/reader.conf.d \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static \
|
||||
--disable-dependency-tracking")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
mesontools.configure(i)
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
mesontools.build()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.insinto("/etc/", "src/Info.plist", "libccid_Info.plist")
|
||||
mesontools.install()
|
||||
|
||||
pisitools.insinto("/etc/udev/rules.d/", "src/92_pcscd_ccid.rules", "92-pcsc-ccid.rules")
|
||||
pisitools.dosed("%s/etc/udev/rules.d/92-pcsc-ccid.rules" % get.installDIR(), "Kobil_mIDentity_switch", deleteLine = True)
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README*")
|
||||
pisitools.dodoc("AUTHORS", "COPYING")
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>ccid</Name>
|
||||
<Homepage>https://ccid.apdu.fr</Homepage>
|
||||
<Homepage>https://ccid.apdu.fr/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
@@ -13,10 +13,13 @@
|
||||
<IsA>library</IsA>
|
||||
<Summary>Generic USB CCID(Chip/Smart Card Interface Devices) device drivers</Summary>
|
||||
<Description>ccid provides the source code for a generic USB CCID (Chip/Smart Card Interface Devices) driver and ICCD (Integrated Circuit(s) Card Devices).</Description>
|
||||
<Archive sha1sum="29b6df3a653df2a78014de3287f8fb507149825e" type="tarbz2">https://ccid.apdu.fr/files/ccid-1.5.1.tar.bz2</Archive>
|
||||
<Archive sha1sum="ca561b0149400f8b62fdc8e284c553662fa7d0e1" type="tarxz">https://ccid.apdu.fr/files/ccid-1.7.1.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency versionFrom="1.8.26">pcsc-lite-devel</Dependency>
|
||||
<Dependency>meson</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
<Dependency>libusb-devel</Dependency>
|
||||
<Dependency>pcsc-lite-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
@@ -27,13 +30,20 @@
|
||||
<Dependency>pcsc-lite</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/</Path>
|
||||
<Path fileType="library">/usr/lib/</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2026-04-12</Date>
|
||||
<Version>1.7.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2023-01-25</Date>
|
||||
<Version>1.5.1</Version>
|
||||
|
||||
Reference in New Issue
Block a user