wok view libnfc/receipt @ rev 14329

Up: connman (1.12)
author Dominique Corbex <domcox@slitaz.org>
date Fri Apr 12 19:56:50 2013 +0200 (2013-04-12)
parents 4ccc5bd433bc
children 4904e3d374a9
line source
1 # SliTaz package receipt.
3 PACKAGE="libnfc"
4 VERSION="1.7.0-rc6"
5 CATEGORY="development"
6 SHORT_DESC="Near Field Communication (NFC) library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://nfc-tools.org/index.php?title=Libnfc"
10 WGET_URL="http://libnfc.googlecode.com/files/$TARBALL"
12 DEPENDS="libusb pcsc-lite"
13 BUILD_DEPENDS="pkg-config libusb-dev libusb-compat pcsc-lite-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --with-drivers=all \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }