# HG changeset patch # User Pascal Bellard # Date 1441806089 -7200 # Node ID 258a3d8b8317e88a35e14d78e7b48d4bb3b5af45 # Parent 90cba08141519e3f7fe9dab776c4dff64e0be1a8 Add mfoc diff -r 90cba0814151 -r 258a3d8b8317 libnfc-dev/receipt --- a/libnfc-dev/receipt Wed Sep 09 09:27:57 2015 +0200 +++ b/libnfc-dev/receipt Wed Sep 09 15:41:29 2015 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libnfc-dev" -VERSION="1.7.0-rc6" +VERSION="1.7.0" CATEGORY="development" SHORT_DESC="Near Field Communication (NFC) library, development files." MAINTAINER="pascal.bellard@slitaz.org" @@ -9,7 +9,7 @@ WEB_SITE="http://nfc-tools.org/index.php?title=Libnfc" WANTED="libnfc" -DEPENDS="libnfc pkg-config" +DEPENDS="libnfc pcsc-lite-dev libusb-dev pkg-config" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() diff -r 90cba0814151 -r 258a3d8b8317 libnfc/receipt --- a/libnfc/receipt Wed Sep 09 09:27:57 2015 +0200 +++ b/libnfc/receipt Wed Sep 09 15:41:29 2015 +0200 @@ -1,12 +1,12 @@ # SliTaz package receipt. PACKAGE="libnfc" -VERSION="1.7.0-rc6" +VERSION="1.7.0" CATEGORY="development" SHORT_DESC="Near Field Communication (NFC) library." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL3" -TARBALL="$PACKAGE-$VERSION.tar.gz" +TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://nfc-tools.org/index.php?title=Libnfc" WGET_URL="http://libnfc.googlecode.com/files/$TARBALL" @@ -16,7 +16,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./configure --prefix=/usr \ --with-drivers=all \ $CONFIGURE_ARGS && diff -r 90cba0814151 -r 258a3d8b8317 mfoc/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mfoc/receipt Wed Sep 09 15:41:29 2015 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="mfoc" +VERSION="0.10.7" +CATEGORY="development" +SHORT_DESC="Mifare Classic Offline Cracker." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="https://github.com/nfc-tools/mfoc" +WGET_URL="http://mfoc.googlecode.com/files/$TARBALL" + +DEPENDS="libnfc" +BUILD_DEPENDS="pkg-config libnfc-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --prefix=/usr \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr +}