wok rev 22630

updated dashel (1.0.4 -> 1.3.3)
author Hans-G?nter Theisgen
date Mon Jan 13 08:16:42 2020 +0100 (2020-01-13)
parents 822b3b44b544
children c7c1f3ae73ab
files dashel/receipt
line diff
     1.1 --- a/dashel/receipt	Mon Jan 13 07:59:55 2020 +0100
     1.2 +++ b/dashel/receipt	Mon Jan 13 08:16:42 2020 +0100
     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  }