wok-next diff linuxdcpp/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 33df80a31584
children d5aab818505e
line diff
     1.1 --- a/linuxdcpp/receipt	Tue May 29 21:35:43 2018 +0300
     1.2 +++ b/linuxdcpp/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.3 @@ -1,31 +1,29 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="linuxdcpp"
     1.8  VERSION="1.0.3"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Direct Connect client based on DC++."
    1.11 +SHORT_DESC="Direct Connect client based on DC++"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -DEPENDS="gtk+ libglade openssl gcc-lib-base bzlib"
    1.15 -BUILD_DEPENDS="gtk+-dev libglade-dev openssl-dev scons2 libglade bzlib bzip2-dev"
    1.16 +WEB_SITE="https://launchpad.net/linuxdcpp"
    1.17 +
    1.18  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19 -WEB_SITE="https://launchpad.net/linuxdcpp"
    1.20  WGET_URL="http://mirror.slitaz.org/sources/packages/l/$TARBALL"
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 -	cd $src
    1.25 +
    1.26 +BUILD_DEPENDS="gtk2-dev libglade-dev openssl-dev scons2 libglade bzlib bzip2-dev"
    1.27 +
    1.28 +compile_rules() {
    1.29  	mkdir -p $DESTDIR/usr
    1.30  	scons PREFIX=/usr &&
    1.31  	scons PREFIX=$DESTDIR/usr install
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 +genpkg_rules() {
    1.38  	mkdir -p $fs/usr/share/pixmaps
    1.39  	cp -a $install/usr/bin $fs/usr
    1.40  	cp -a $install/usr/share/linuxdcpp $fs/usr/share
    1.41  	cd $fs/usr/share/pixmaps
    1.42  	ln -s ../linuxdcpp/pixmaps/linuxdcpp.png .
    1.43 +	DEPENDS="gtk2 libglade openssl gcc-lib-base bzlib"
    1.44  }