SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libexif-gtk"

# SliTaz package receipt.

PACKAGE="libexif-gtk"
VERSION="0.5.0"
CATEGORY="graphics"
SHORT_DESC="A library of widgets to help display EXIF tags in GTK programs."
MAINTAINER="maintainer@slitaz.org"
LICENSE="LGPL2.1"
WEB_SITE="https://libexif.github.io/"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="https://github.com/libexif/$PACKAGE/releases/download/v$VERSION/$TARBALL"

DEPENDS="gtk+ libexif libxml2"
BUILD_DEPENDS="file gtk+-dev libexif-dev libxml2-dev"

HOST_ARCH="i486 arm"

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

# Rules to configure and make the package.
compile_rules()
{
    # By default build with gtk2
    ./configure &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files    *.so*
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)