wok-current annotate libnfc/receipt @ rev 21931

updated sord-dev (0.8.0 -> 0.16.2)
author Hans-G?nter Theisgen
date Sun Oct 06 15:31:03 2019 +0100 (2019-10-06)
parents 3b8898f56b63
children 5ea0ce1cecc0
rev   line source
pascal@14169 1 # SliTaz package receipt.
pascal@14169 2
pascal@14169 3 PACKAGE="libnfc"
Hans-G?nter@21264 4 VERSION="1.7.1"
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@14169 17 # Rules to configure and make the package.
pascal@14169 18 compile_rules()
pascal@14169 19 {
pascal@19705 20 export LDFLAGS="$LDFLAGS -ltinfo"
Hans-G?nter@21264 21
Hans-G?nter@21264 22 ./configure \
Hans-G?nter@21264 23 --prefix=/usr \
Hans-G?nter@21264 24 --with-drivers=all \
pascal@14169 25 $CONFIGURE_ARGS &&
Hans-G?nter@21264 26 make -j 1 &&
pascal@14169 27 make DESTDIR=$DESTDIR install
pascal@14169 28 }
pascal@14169 29
pascal@14169 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14169 31 genpkg_rules()
pascal@14169 32 {
pascal@14169 33 mkdir -p $fs/usr/lib
Hans-G?nter@21264 34
Hans-G?nter@21264 35 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21264 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14169 37 }