wok-next annotate mktorrent/receipt @ rev 20861
gnutls: up (3.5.18); add libpsl and publicsuffix-list; sed: up (4.5); tar: up (1.30); tcpdump: up (4.9.2); wget: up (1.19.5); xz: up (5.2.4)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 28 00:30:02 2018 +0300 (2018-06-28) |
parents | d8dd78808071 |
children | a3c581bf52b8 |
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" |
pascal@15207 | 12 |
pascal@15207 | 13 DEPENDS="" |
pascal@15207 | 14 BUILD_DEPENDS="" |
pascal@15207 | 15 |
pascal@15207 | 16 # Rules to configure and make the package. |
pascal@15207 | 17 compile_rules() |
pascal@15207 | 18 { |
pascal@15207 | 19 make && |
pascal@15207 | 20 make DESTDIR=$DESTDIR install |
pascal@15207 | 21 } |
pascal@15207 | 22 |
pascal@15207 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15207 | 24 genpkg_rules() |
pascal@15207 | 25 { |
pascal@15207 | 26 mkdir -p $fs/usr |
pascal@15207 | 27 cp -a $install/usr/local/bin $fs/usr |
pascal@15207 | 28 } |
pankso@15987 | 29 |
pankso@15987 | 30 testsuite() |
pankso@15987 | 31 { |
pankso@15987 | 32 readelf -h $install/usr/local/bin/$PACKAGE |
pankso@15987 | 33 } |