wok-current annotate mfoc/receipt @ rev 25256
updated qrencode and qrencode-dev (4.0.2 -> 4.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 06:38:49 2022 +0100 (2022-07-15) |
parents | b569b85b0fb9 |
children |
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@18334 | 8 LICENSE="GPL2" |
pascal@18333 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@18333 | 10 WEB_SITE="https://github.com/nfc-tools/mfoc" |
pascal@24980 | 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL" |
pascal@18333 | 12 |
pascal@18333 | 13 DEPENDS="libnfc" |
pascal@18333 | 14 BUILD_DEPENDS="pkg-config libnfc-dev" |
pascal@18333 | 15 |
pascal@24308 | 16 # What is the latest version available today? |
pascal@24308 | 17 current_version() |
pascal@24308 | 18 { |
pascal@24308 | 19 wget -O - $WEB_SITE/tags 2>/dev/null | \ |
pascal@24308 | 20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 21 } |
pascal@24308 | 22 |
pascal@18333 | 23 # Rules to configure and make the package. |
pascal@18333 | 24 compile_rules() |
pascal@18333 | 25 { |
pascal@18333 | 26 ./configure --prefix=/usr \ |
pascal@18333 | 27 $CONFIGURE_ARGS && |
pascal@18333 | 28 make && |
pascal@18333 | 29 make DESTDIR=$DESTDIR install |
pascal@18333 | 30 } |
pascal@18333 | 31 |
pascal@18333 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18333 | 33 genpkg_rules() |
pascal@18333 | 34 { |
pascal@18333 | 35 mkdir -p $fs/usr |
pascal@18333 | 36 cp -a $install/usr/bin $fs/usr |
pascal@18333 | 37 } |