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|.*href="|"https://sourceforge.net|;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*
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)