wok annotate mktorrent/receipt @ rev 17521

busybox: 2015
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 17 12:02:13 2015 +0100 (2015-01-17)
parents b602ded847a6
children 8dd8bab3f0ca
rev   line source
pascal@15207 1 # SliTaz package receipt.
pascal@15207 2
pascal@15207 3 PACKAGE="mktorrent"
pascal@15207 4 VERSION="1.0"
pascal@15207 5 CATEGORY="network"
pascal@15207 6 SHORT_DESC="Command line utility to create BitTorrent metainfo files."
pascal@15207 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15207 8 LICENSE="GPL2"
pascal@15207 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15207 10 WEB_SITE="http://mktorrent.sourceforge.net/"
pascal@15207 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@15987 12 HOST_ARCH="i486 arm x86_64"
pascal@15207 13
pascal@15207 14 DEPENDS=""
pascal@15207 15 BUILD_DEPENDS=""
pascal@15207 16
pascal@15207 17 # Rules to configure and make the package.
pascal@15207 18 compile_rules()
pascal@15207 19 {
pascal@15207 20 make &&
pascal@15207 21 make DESTDIR=$DESTDIR install
pascal@15207 22 }
pascal@15207 23
pascal@15207 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15207 25 genpkg_rules()
pascal@15207 26 {
pascal@15207 27 mkdir -p $fs/usr
pascal@15207 28 cp -a $install/usr/local/bin $fs/usr
pascal@15207 29 }
pankso@15987 30
pankso@15987 31 testsuite()
pankso@15987 32 {
pankso@15987 33 readelf -h $install/usr/local/bin/$PACKAGE
pankso@15987 34 }