wok-6.x annotate openct/receipt @ rev 25142

updated pjsip and pjsip-dev (2.8 -> 2.11.1)
author Hans-G?nter Theisgen
date Wed Jun 29 14:35:46 2022 +0100 (2022-06-29)
parents 5ea0ce1cecc0
children
rev   line source
pascal@19883 1 # SliTaz package receipt.
pascal@19883 2
pascal@19883 3 PACKAGE="openct"
pascal@19883 4 VERSION="0.6.20"
pascal@19883 5 CATEGORY="misc"
pascal@19883 6 SHORT_DESC="Drivers for several smart card readers."
pascal@19883 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19883 8 LICENSE="LGPL2.1"
pascal@19883 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@19883 10 WEB_SITE="https://github.com/OpenSC/openct"
pascal@19883 11 WGET_URL="$WEB_SITE/archive/$TARBALL"
pascal@19883 12
pascal@19883 13 DEPENDS="pcsc-lite libusb"
pascal@19883 14 BUILD_DEPENDS="automake libtool pcsc-lite-dev libusb-dev doxygen"
pascal@19883 15
pascal@24055 16 current_version()
pascal@24055 17 {
pascal@24299 18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 19 sed '/archive.*tar/!d;s|.*/openct-\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
pascal@19883 22 # Rules to configure and make the package.
pascal@19883 23 compile_rules()
pascal@19883 24 {
pascal@19883 25 mkdir -p $DESTDIR/etc
pascal@19883 26 ./bootstrap &&
pascal@19883 27 ./configure --prefix=/usr \
pascal@19883 28 --enable-pcsc \
pascal@19883 29 --enable-usb \
pascal@19883 30 --sysconfdir=/etc \
pascal@19883 31 --infodir=/usr/share/info \
pascal@19883 32 --mandir=/usr/share/man \
pascal@19883 33 $CONFIGURE_ARGS &&
pascal@19883 34 make &&
pascal@19883 35 make DESTDIR=$DESTDIR install
pascal@19883 36 }
pascal@19883 37
pascal@19883 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19883 39 genpkg_rules()
pascal@19883 40 {
pascal@19883 41 mkdir -p $fs/usr/lib
pascal@19883 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@19883 43 cp -a $install/etc $fs
pascal@19883 44 cp -a $install/usr/bin $fs/usr
pascal@19883 45 cp -a $install/usr/sbin $fs/usr
pascal@19883 46 }