wok-6.x view libnfc/receipt @ rev 23005
libassuan: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 02 18:45:06 2020 +0100 (2020-03-02) |
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 }