wok annotate libnfc/receipt @ rev 21271
updated libpano13 and libpano13-dev (2.9.18 -> 2.9.19)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 12 16:16:27 2019 +0100 (2019-04-12) |
parents | 6f8050857b59 |
children | 78a46345f6bb |
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" |
Hans-G?nter@21264 | 9 WEB_SITE="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 } |