wok view mfoc/receipt @ rev 25203

updated python-mechanize (0.4.5 -> 0.4.7)
author Hans-G?nter Theisgen
date Wed Jul 13 14:23:19 2022 +0100 (2022-07-13)
parents b569b85b0fb9
children
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="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL"
13 DEPENDS="libnfc"
14 BUILD_DEPENDS="pkg-config libnfc-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }