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