wok diff gammu/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents af8d823a3077
children
line diff
     1.1 --- a/gammu/receipt	Mon Feb 14 14:14:23 2022 +0000
     1.2 +++ b/gammu/receipt	Sat May 21 21:38:29 2022 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gammu"
     1.7 -VERSION="1.41.0"
     1.8 +VERSION="1.42.0"
     1.9  CATEGORY="system-tools"
    1.10  TAGS="bluetooth"
    1.11  SHORT_DESC="Library and utility to control cell phone."
    1.12 @@ -25,21 +25,19 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	mkdir -p build &&
    1.17 -	cd build &&
    1.18 +	mkdir	_build &&
    1.19 +	cd	_build &&
    1.20  	cmake	..				\
    1.21 -		-DCMAKE_INSTALL_PREFIX=/usr	\
    1.22 -		-DBUILD_SHARED_LIBS=ON&&
    1.23 -	make -j 1 &&
    1.24 -	make DESTDIR=$DESTDIR install
    1.25 +		-D CMAKE_INSTALL_PREFIX=/usr	\
    1.26 +		-D BUILD_SHARED_LIBS=ON &&
    1.27 +	make &&
    1.28 +	make install DESTDIR=$DESTDIR
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.32  genpkg_rules()
    1.33  {
    1.34 -	mkdir -p $fs/usr/lib
    1.35 -
    1.36 -	cp -a $install/usr/bin		$fs/usr
    1.37 -	rm				$fs/usr/bin/gammu-config
    1.38 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.39 +	cook_copy_folders	bin
    1.40 +	rm			$fs/usr/bin/gammu-config
    1.41 +	cook_copy_files		*.so*
    1.42  }