wok-next view mfoc/receipt @ rev 18697
Fix pilot-link(-dev) packaging
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Mon Dec 14 09:55:05 2015 +0100 (2015-12-14) |
parents | 258a3d8b8317 |
children | d43bf7aae921 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://github.com/nfc-tools/mfoc"
11 WGET_URL="http://mfoc.googlecode.com/files/$TARBALL"
13 DEPENDS="libnfc"
14 BUILD_DEPENDS="pkg-config libnfc-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --prefix=/usr \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 }