wok annotate mfoc/receipt @ rev 21820

syslinux/kbd: check kbd malloc pointer
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 25 11:41:26 2019 +0200 (2019-08-25)
parents 258a3d8b8317
children b569b85b0fb9
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@18333 11 WGET_URL="http://mfoc.googlecode.com/files/$TARBALL"
pascal@18333 12
pascal@18333 13 DEPENDS="libnfc"
pascal@18333 14 BUILD_DEPENDS="pkg-config libnfc-dev"
pascal@18333 15
pascal@18333 16 # Rules to configure and make the package.
pascal@18333 17 compile_rules()
pascal@18333 18 {
pascal@18333 19 ./configure --prefix=/usr \
pascal@18333 20 $CONFIGURE_ARGS &&
pascal@18333 21 make &&
pascal@18333 22 make DESTDIR=$DESTDIR install
pascal@18333 23 }
pascal@18333 24
pascal@18333 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18333 26 genpkg_rules()
pascal@18333 27 {
pascal@18333 28 mkdir -p $fs/usr
pascal@18333 29 cp -a $install/usr/bin $fs/usr
pascal@18333 30 }