wok-next rev 18333

Add mfoc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 09 15:41:29 2015 +0200 (2015-09-09)
parents 90cba0814151
children 46fc8daa3b41
files libnfc-dev/receipt libnfc/receipt mfoc/receipt
line diff
     1.1 --- a/libnfc-dev/receipt	Wed Sep 09 09:27:57 2015 +0200
     1.2 +++ b/libnfc-dev/receipt	Wed Sep 09 15:41:29 2015 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libnfc-dev"
     1.7 -VERSION="1.7.0-rc6"
     1.8 +VERSION="1.7.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Near Field Communication (NFC) library, development files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -9,7 +9,7 @@
    1.13  WEB_SITE="http://nfc-tools.org/index.php?title=Libnfc"
    1.14  WANTED="libnfc"
    1.15  
    1.16 -DEPENDS="libnfc pkg-config"
    1.17 +DEPENDS="libnfc pcsc-lite-dev libusb-dev pkg-config"
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
     2.1 --- a/libnfc/receipt	Wed Sep 09 09:27:57 2015 +0200
     2.2 +++ b/libnfc/receipt	Wed Sep 09 15:41:29 2015 +0200
     2.3 @@ -1,12 +1,12 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libnfc"
     2.7 -VERSION="1.7.0-rc6"
     2.8 +VERSION="1.7.0"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="Near Field Communication (NFC) library."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="LGPL3"
    2.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.15  WEB_SITE="http://nfc-tools.org/index.php?title=Libnfc"
    2.16  WGET_URL="http://libnfc.googlecode.com/files/$TARBALL"
    2.17  
    2.18 @@ -16,7 +16,6 @@
    2.19  # Rules to configure and make the package.
    2.20  compile_rules()
    2.21  {
    2.22 -	cd $src
    2.23  	./configure --prefix=/usr \
    2.24  		--with-drivers=all \
    2.25  		$CONFIGURE_ARGS &&
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/mfoc/receipt	Wed Sep 09 15:41:29 2015 +0200
     3.3 @@ -0,0 +1,29 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="mfoc"
     3.7 +VERSION="0.10.7"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="Mifare Classic Offline Cracker."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.12 +WEB_SITE="https://github.com/nfc-tools/mfoc"
    3.13 +WGET_URL="http://mfoc.googlecode.com/files/$TARBALL"
    3.14 +
    3.15 +DEPENDS="libnfc"
    3.16 +BUILD_DEPENDS="pkg-config libnfc-dev"
    3.17 +
    3.18 +# Rules to configure and make the package.
    3.19 +compile_rules()
    3.20 +{
    3.21 +	./configure --prefix=/usr \
    3.22 +		$CONFIGURE_ARGS &&
    3.23 +	make &&
    3.24 +	make DESTDIR=$DESTDIR install
    3.25 +}
    3.26 +
    3.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.28 +genpkg_rules()
    3.29 +{
    3.30 +	mkdir -p $fs/usr
    3.31 +	cp -a $install/usr/bin $fs/usr
    3.32 +}