wok-current view libpano13/receipt @ rev 25371

updated tmux-mem-cpu-load (3.4.0 -> 3.6.0)
author Hans-G?nter Theisgen
date Fri Jul 29 14:34:07 2022 +0100 (2022-07-29)
parents a9a8eabe376a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libpano13"
4 VERSION="2.9.21"
5 CATEGORY="development"
6 SHORT_DESC="Panorama tools library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://web.archive.org/web/20220621123459/https://sourceforge.net/projects/panotools/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/panotools/$TARBALL"
14 DEPENDS="jpeg libpng tiff"
15 BUILD_DEPENDS="bash cmake jpeg-dev libpng-dev tiff-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/panotools/files/libpano13/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;/tar/!d;s|.*/libpano13-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir _build &&
29 cd _build &&
30 cmake .. \
31 -D CMAKE_INSTALL_PREFIX=/usr &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 cook_copy_files *.so*
41 }