wok-6.x annotate mktorrent/receipt @ rev 20816
Up busybox (1.30.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 16:16:24 2019 +0100 (2019-02-18) |
parents | d8dd78808071 |
children | 082c7fcce5a9 |
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@20672 | 10 WEB_SITE="https://github.com/Rudde/mktorrent/" |
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 } |