wok-6.x annotate mktorrent/receipt @ rev 23512
updated python-netifaces (0.8 -> 0.10.9)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 10:53:56 2020 +0100 (2020-04-06) |
parents | 8dd8bab3f0ca |
children | b569b85b0fb9 |
rev | line source |
---|---|
pascal@15207 | 1 # SliTaz package receipt. |
pascal@15207 | 2 |
pascal@15207 | 3 PACKAGE="mktorrent" |
Hans-G?nter@21449 | 4 VERSION="1.1" |
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" |
Hans-G?nter@21449 | 9 WEB_SITE="https://github.com/Rudde/mktorrent/" |
Hans-G?nter@21449 | 10 |
pascal@15207 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21449 | 12 WGET_URL="${WEB_SITE}archive/v$VERSION/$TARBALL" |
pascal@15207 | 13 |
pascal@15207 | 14 DEPENDS="" |
pascal@15207 | 15 BUILD_DEPENDS="" |
pascal@15207 | 16 |
Hans-G?nter@21449 | 17 HOST_ARCH="i486 arm x86_64" |
Hans-G?nter@21449 | 18 |
pascal@15207 | 19 # Rules to configure and make the package. |
pascal@15207 | 20 compile_rules() |
pascal@15207 | 21 { |
pascal@15207 | 22 make && |
pascal@15207 | 23 make DESTDIR=$DESTDIR install |
pascal@15207 | 24 } |
pascal@15207 | 25 |
pascal@15207 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15207 | 27 genpkg_rules() |
pascal@15207 | 28 { |
pascal@15207 | 29 mkdir -p $fs/usr |
pascal@15207 | 30 cp -a $install/usr/local/bin $fs/usr |
pascal@15207 | 31 } |
pankso@15987 | 32 |
pankso@15987 | 33 testsuite() |
pankso@15987 | 34 { |
pankso@15987 | 35 readelf -h $install/usr/local/bin/$PACKAGE |
pankso@15987 | 36 } |