# HG changeset patch # User Pascal Bellard # Date 1378815352 0 # Node ID b602ded847a6fe329a2810f53248c0358f108b63 # Parent 4e70419518ab0f649d11809fbc9ebca909d28783 Add mktorrent diff -r 4e70419518ab -r b602ded847a6 mktorrent/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mktorrent/receipt Tue Sep 10 12:15:52 2013 +0000 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="mktorrent" +VERSION="1.0" +CATEGORY="network" +SHORT_DESC="Command line utility to create BitTorrent metainfo files." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://mktorrent.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +DEPENDS="" +BUILD_DEPENDS="" + +# Rules to configure and make the package. +compile_rules() +{ + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/local/bin $fs/usr +}