wok diff dashel/receipt @ rev 23955

Add rhash
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 26 09:25:55 2020 +0000 (2020-09-26)
parents 6e8b1bcb30e2
children 5ea0ce1cecc0
line diff
     1.1 --- a/dashel/receipt	Thu Jan 24 11:33:03 2019 +0100
     1.2 +++ b/dashel/receipt	Sat Sep 26 09:25:55 2020 +0000
     1.3 @@ -1,14 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="dashel"
     1.7 -VERSION="1.0.4"
     1.8 +VERSION="1.3.3"
     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  LICENSE="BSD"
    1.13 +WEB_SITE="http://aseba-community.github.io/dashel/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://aseba-community.github.io/dashel/"
    1.17 -WGET_URL="http://download.gna.org/dashel/$VERSION/$TARBALL"
    1.18 +WGET_URL="https://github.com/aseba-community/$PACKAGE/archive/$VERSION.tar.gz"
    1.19  
    1.20  DEPENDS="hal"
    1.21  BUILD_DEPENDS="cmake hal-dev"
    1.22 @@ -16,14 +17,18 @@
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	cd $src
    1.27 -	cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
    1.28 -	make && make install
    1.29 +	cmake	.				\
    1.30 +		-DCMAKE_INSTALL_PREFIX=/usr	\
    1.31 +		-DBUILD_SHARED_LIBS=OFF &&
    1.32 +	make &&
    1.33 +	make install
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39  	mkdir -p $fs/usr
    1.40 -	cp -a $install/usr/* $fs/usr
    1.41 +
    1.42 +	cp -a $install/usr/include	$fs/usr
    1.43 +	cp -a $install/usr/lib		$fs/usr
    1.44  }