wok view libnfc/receipt @ rev 14714

lib[a-n]*: add LICENSE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 11 10:41:23 2013 +0200 (2013-06-11)
parents 3fc4c20c7d1c
children 7d6089953592
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://nfc-tools.org/index.php?title=Libnfc"
11 WGET_URL="http://libnfc.googlecode.com/files/$TARBALL"
13 DEPENDS="libusb pcsc-lite"
14 BUILD_DEPENDS="pkg-config libusb-dev libusb-compat pcsc-lite-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --with-drivers=all \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }