wok-next diff dashel/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a3c581bf52b8
children 52d714820877
line diff
     1.1 --- a/dashel/receipt	Fri Aug 10 12:53:17 2018 +0300
     1.2 +++ b/dashel/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,29 +1,27 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="dashel"
     1.8  VERSION="1.0.4"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="C++ cross-platform data stream helper encapsulation library."
    1.11 -MAINTAINER="pankso@slitaz.org"
    1.12 +SHORT_DESC="C++ cross-platform data stream helper encapsulation library"
    1.13 +MAINTAINER="devel@slitaz.org"
    1.14  LICENSE="BSD"
    1.15 +WEB_SITE="http://aseba-community.github.io/dashel/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://aseba-community.github.io/dashel/"
    1.19  WGET_URL="https://github.com/aseba-community/dashel/archive/$VERSION.tar.gz"
    1.20  
    1.21 -DEPENDS="hal"
    1.22  BUILD_DEPENDS="cmake hal-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 -	cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
    1.29 -	make && make install
    1.30 +compile_rules() {
    1.31 +	cmake \
    1.32 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.33 +		. &&
    1.34 +	make &&
    1.35 +	make install
    1.36  }
    1.37  
    1.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 -genpkg_rules()
    1.40 -{
    1.41 -	mkdir -p $fs/usr
    1.42 -	cp -a $install/usr/* $fs/usr
    1.43 +genpkg_rules() {
    1.44 +	copy @std
    1.45 +	DEPENDS="hal"
    1.46  }