wok-next diff mfoc/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d43bf7aae921 |
children |
line diff
1.1 --- a/mfoc/receipt Wed Mar 21 15:58:17 2018 +0200 1.2 +++ b/mfoc/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -3,28 +3,26 @@ 1.4 PACKAGE="mfoc" 1.5 VERSION="0.10.7" 1.6 CATEGORY="development" 1.7 -SHORT_DESC="Mifare Classic Offline Cracker." 1.8 +SHORT_DESC="Mifare Classic Offline Cracker" 1.9 MAINTAINER="pascal.bellard@slitaz.org" 1.10 LICENSE="GPL2" 1.11 +WEB_SITE="https://github.com/nfc-tools/mfoc" 1.12 + 1.13 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 -WEB_SITE="https://github.com/nfc-tools/mfoc" 1.15 WGET_URL="http://mfoc.googlecode.com/files/$TARBALL" 1.16 1.17 -DEPENDS="libnfc" 1.18 BUILD_DEPENDS="libnfc-dev" 1.19 1.20 -# Rules to configure and make the package. 1.21 -compile_rules() 1.22 -{ 1.23 - ./configure --prefix=/usr \ 1.24 +compile_rules() { 1.25 + ./configure \ 1.26 + --prefix=/usr \ 1.27 $CONFIGURE_ARGS && 1.28 make && 1.29 - make DESTDIR=$DESTDIR install 1.30 + make DESTDIR=$install install 1.31 } 1.32 1.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 -genpkg_rules() 1.35 -{ 1.36 +genpkg_rules() { 1.37 mkdir -p $fs/usr 1.38 cp -a $install/usr/bin $fs/usr 1.39 + DEPENDS="libnfc" 1.40 }