wok-next view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mfoc"
4 VERSION="0.10.7"
5 CATEGORY="development"
6 SHORT_DESC="Mifare Classic Offline Cracker."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="https://github.com/nfc-tools/mfoc"
10 WGET_URL="http://mfoc.googlecode.com/files/$TARBALL"
12 DEPENDS="libnfc"
13 BUILD_DEPENDS="pkg-config libnfc-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ./configure --prefix=/usr \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/bin $fs/usr
29 }