wok-current annotate mktorrent/receipt @ rev 15207
Add mktorrent
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 10 12:15:52 2013 +0000 (2013-09-10) |
parents | |
children | d8dd78808071 |
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 } |