wok-next diff ctorrent-dnh/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents a436a235f098
children d5aab818505e
line diff
     1.1 --- a/ctorrent-dnh/receipt	Fri Jul 05 13:51:55 2013 +0200
     1.2 +++ b/ctorrent-dnh/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.3 @@ -1,31 +1,28 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="ctorrent-dnh"
     1.8  VERSION="3.3.2"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Command line Bittorrent client."
    1.11 +SHORT_DESC="Command line Bittorrent client"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.rahul.net/dholmes/ctorrent/"
    1.15 +
    1.16  TARBALL="${PACKAGE}$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.rahul.net/dholmes/ctorrent/"
    1.18  WGET_URL="$SF_MIRROR/dtorrent/$TARBALL"
    1.19  
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23 +compile_rules() {
    1.24  	mv ${PACKAGE}$VERSION $PACKAGE-$VERSION 2>/dev/null
    1.25  	cd $src
    1.26  	./configure \
    1.27  		--prefix=/usr \
    1.28  		--with-ssl=no \
    1.29 -		$CONFIGURE_ARGS
    1.30 -	make
    1.31 +		$CONFIGURE_ARGS &&
    1.32 +	make &&
    1.33  	make DESTDIR=$DESTDIR install
    1.34  }
    1.35  
    1.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 -genpkg_rules()
    1.38 -{
    1.39 +genpkg_rules() {
    1.40  	mkdir -p $fs/usr
    1.41  	cp -a $install/usr/bin $fs/usr
    1.42  	# Torrentbox