wok annotate mfoc/receipt @ rev 18333
Add mfoc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 09 15:41:29 2015 +0200 (2015-09-09) |
parents | |
children | 46fc8daa3b41 |
rev | line source |
---|---|
pascal@18333 | 1 # SliTaz package receipt. |
pascal@18333 | 2 |
pascal@18333 | 3 PACKAGE="mfoc" |
pascal@18333 | 4 VERSION="0.10.7" |
pascal@18333 | 5 CATEGORY="development" |
pascal@18333 | 6 SHORT_DESC="Mifare Classic Offline Cracker." |
pascal@18333 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18333 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@18333 | 9 WEB_SITE="https://github.com/nfc-tools/mfoc" |
pascal@18333 | 10 WGET_URL="http://mfoc.googlecode.com/files/$TARBALL" |
pascal@18333 | 11 |
pascal@18333 | 12 DEPENDS="libnfc" |
pascal@18333 | 13 BUILD_DEPENDS="pkg-config libnfc-dev" |
pascal@18333 | 14 |
pascal@18333 | 15 # Rules to configure and make the package. |
pascal@18333 | 16 compile_rules() |
pascal@18333 | 17 { |
pascal@18333 | 18 ./configure --prefix=/usr \ |
pascal@18333 | 19 $CONFIGURE_ARGS && |
pascal@18333 | 20 make && |
pascal@18333 | 21 make DESTDIR=$DESTDIR install |
pascal@18333 | 22 } |
pascal@18333 | 23 |
pascal@18333 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18333 | 25 genpkg_rules() |
pascal@18333 | 26 { |
pascal@18333 | 27 mkdir -p $fs/usr |
pascal@18333 | 28 cp -a $install/usr/bin $fs/usr |
pascal@18333 | 29 } |