wok diff libpano13/receipt @ rev 25097

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 18 20:27:19 2022 +0000 (24 months ago)
parents 65d7d867e0c1
children aa9194512ca0
line diff
     1.1 --- a/libpano13/receipt	Wed Feb 09 17:57:59 2022 +0000
     1.2 +++ b/libpano13/receipt	Sat Jun 18 20:27:19 2022 +0000
     1.3 @@ -1,18 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libpano13"
     1.7 -VERSION="2.9.19"
     1.8 +VERSION="2.9.21"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Panorama tools library."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -WEB_SITE="http://panotools.sourceforge.net/"
    1.14 +WEB_SITE="https://sourceforge.net/projects/panotools/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="$SF_MIRROR/panotools/$TARBALL"
    1.18  
    1.19  DEPENDS="jpeg libpng tiff"
    1.20 -BUILD_DEPENDS="bash jpeg-dev libpng-dev tiff-dev"
    1.21 +BUILD_DEPENDS="bash cmake jpeg-dev libpng-dev tiff-dev"
    1.22  
    1.23  # What is the latest version available today?
    1.24  current_version()
    1.25 @@ -25,20 +25,17 @@
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	./configure			\
    1.30 -		--prefix=/usr		\
    1.31 -		--build=$HOST_SYSTEM	\
    1.32 -		--host=$HOST_SYSTEM &&
    1.33 -	make -j 1 &&
    1.34 -	make DESTDIR=$DESTDIR install
    1.35 +	mkdir	_build &&
    1.36 +	cd	_build &&
    1.37 +	cmake	..			\
    1.38 +		-D CMAKE_INSTALL_PREFIX=/usr &&
    1.39 +	make &&
    1.40 +	make install DESTDIR=$DESTDIR
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.   
    1.44  genpkg_rules()                                      
    1.45  {
    1.46 -	mkdir -p $fs/usr/lib
    1.47 -
    1.48 -	cp -a $install/usr/lib/*.so*		$fs/usr/lib
    1.49 -	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.50 -	cp -a $install/usr/bin			$fs/usr
    1.51 +	cook_copy_folders	bin
    1.52 +	cook_copy_files		*.so*
    1.53  }