wok-current view libnfc/receipt @ rev 25381

updated unifont (13.0.01 -> 14.0.04)
author Hans-G?nter Theisgen
date Sat Jul 30 16:49:06 2022 +0100 (2022-07-30)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libnfc"
4 VERSION="1.8.0"
5 CATEGORY="development"
6 SHORT_DESC="Near Field Communication (NFC) library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL3"
9 WEB_SITE="https://web.archive.org/web/20190207020154/http://nfc-tools.org/index.php?title=Libnfc"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://github.com/nfc-tools/$PACKAGE/releases/download/$PACKAGE-$VERSION/$TARBALL"
14 DEPENDS="libusb pcsc-lite"
15 BUILD_DEPENDS="libusb-compat libusb-dev pcsc-lite-dev pkg-config"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/libnfc-\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export LDFLAGS="$LDFLAGS -ltinfo"
28 ./configure \
29 --prefix=/usr \
30 --with-drivers=all \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 cook_copy_files *.so*
41 }