SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libpano13"

# SliTaz package receipt.

PACKAGE="libpano13"
VERSION="2.9.21"
CATEGORY="development"
SHORT_DESC="Panorama tools library."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://web.archive.org/web/20220621123459/https://sourceforge.net/projects/panotools/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/panotools/$TARBALL"

DEPENDS="jpeg libpng tiff"
BUILD_DEPENDS="bash cmake jpeg-dev libpng-dev tiff-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/panotools/files/libpano13/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;/tar/!d;s|.*/libpano13-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    mkdir    _build &&
    cd    _build &&
    cmake    ..            \
        -D CMAKE_INSTALL_PREFIX=/usr &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.   
genpkg_rules()                                      
{
    cook_copy_folders    bin
    cook_copy_files        *.so*
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)