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