SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libgtkimageview"

# SliTaz package receipt.

PACKAGE="libgtkimageview"
VERSION="1.6.4"
CATEGORY="system-tools"
SHORT_DESC="Simple image viewer widget for GTK."
MAINTAINER="gokhlayeh@slitaz.org"
LICENSE="LGPL2.1"
SOURCE="gtkimageview"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="https://web.archive.org/web/20130517010338/http://trac.bjourne.webfactional.com/"
WGET_URL="https://eternallybored.org/misc/gimp/plugins/ufraw/src/$TARBALL"

DEPENDS="gtk+"
BUILD_DEPENDS="gtk+-dev expat-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed '/gtkimageview/!d;/tar/!d;s|.*gtkimageview-||;s|.t.*||' | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --prefix=/usr \
        --infodir=/usr/share/info \
        --mandir=/usr/share/man \
        $CONFIGURE_ARGS &&
    make && make DESTDIR=$DESTDIR install    
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/lib $fs/usr
    # Remove devel files
    cd $fs/usr/lib
    rm -r libgtkimageview.a libgtkimageview.la pkgconfig/
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)