wok annotate libnfc/receipt @ rev 19705
libnfc: add -ltinfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 14 21:44:23 2017 +0100 (2017-02-14) |
parents | 258a3d8b8317 |
children | 3b8898f56b63 |
rev | line source |
---|---|
pascal@14169 | 1 # SliTaz package receipt. |
pascal@14169 | 2 |
pascal@14169 | 3 PACKAGE="libnfc" |
pascal@18333 | 4 VERSION="1.7.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@18333 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@14169 | 10 WEB_SITE="http://nfc-tools.org/index.php?title=Libnfc" |
pascal@14169 | 11 WGET_URL="http://libnfc.googlecode.com/files/$TARBALL" |
pascal@14169 | 12 |
pascal@14169 | 13 DEPENDS="libusb pcsc-lite" |
pascal@14171 | 14 BUILD_DEPENDS="pkg-config libusb-dev libusb-compat pcsc-lite-dev" |
pascal@14169 | 15 |
pascal@14169 | 16 # Rules to configure and make the package. |
pascal@14169 | 17 compile_rules() |
pascal@14169 | 18 { |
pascal@19705 | 19 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@14169 | 20 ./configure --prefix=/usr \ |
pascal@14169 | 21 --with-drivers=all \ |
pascal@14169 | 22 $CONFIGURE_ARGS && |
pascal@14169 | 23 make && |
pascal@14169 | 24 make DESTDIR=$DESTDIR install |
pascal@14169 | 25 } |
pascal@14169 | 26 |
pascal@14169 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14169 | 28 genpkg_rules() |
pascal@14169 | 29 { |
pascal@14169 | 30 mkdir -p $fs/usr/lib |
pascal@14169 | 31 cp -a $install/usr/bin $fs/usr |
pascal@14169 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14169 | 33 } |