wok annotate libpano13/receipt @ rev 25097

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 18 20:27:19 2022 +0000 (23 months ago)
parents 65d7d867e0c1
children aa9194512ca0
rev   line source
pascal@14594 1 # SliTaz package receipt.
pascal@14594 2
pascal@14594 3 PACKAGE="libpano13"
Hans-G?nter@24820 4 VERSION="2.9.21"
pascal@14594 5 CATEGORY="development"
pascal@14594 6 SHORT_DESC="Panorama tools library."
pascal@14594 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14716 8 LICENSE="GPL2"
Hans-G?nter@24820 9 WEB_SITE="https://sourceforge.net/projects/panotools/"
Hans-G?nter@21271 10
pascal@14594 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14594 12 WGET_URL="$SF_MIRROR/panotools/$TARBALL"
pascal@14594 13
Hans-G?nter@21271 14 DEPENDS="jpeg libpng tiff"
Hans-G?nter@24820 15 BUILD_DEPENDS="bash cmake jpeg-dev libpng-dev tiff-dev"
pascal@14594 16
pascal@24411 17 # What is the latest version available today?
pascal@24411 18 current_version()
pascal@24411 19 {
pascal@24411 20 wget -O - https://sourceforge.net/projects/panotools/files/libpano13/ 2>/dev/null | \
pascal@24411 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24411 22 sed '/scope="row/!d;/tar/!d;s|.*/libpano13-||;s|.tar.*||;q'
pascal@24411 23 }
pascal@24411 24
pascal@14594 25 # Rules to configure and make the package.
pascal@14594 26 compile_rules()
pascal@14594 27 {
Hans-G?nter@24820 28 mkdir _build &&
Hans-G?nter@24820 29 cd _build &&
Hans-G?nter@24820 30 cmake .. \
Hans-G?nter@24820 31 -D CMAKE_INSTALL_PREFIX=/usr &&
Hans-G?nter@24820 32 make &&
Hans-G?nter@24820 33 make install DESTDIR=$DESTDIR
pascal@14594 34 }
pascal@14594 35
pascal@14594 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14594 37 genpkg_rules()
pascal@14594 38 {
Hans-G?nter@24820 39 cook_copy_folders bin
Hans-G?nter@24820 40 cook_copy_files *.so*
pascal@14594 41 }