SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "exiv2"

# SliTaz package receipt.

PACKAGE="exiv2"
VERSION="0.27.5"
CATEGORY="graphics"
SHORT_DESC="Exif and Iptc metadata manipulation library and tools."
MAINTAINER="jozee@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://exiv2.org/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/Exiv2/$PACKAGE/archive/v$VERSION.tar.gz"

DEPENDS="expat gcc-lib-base zlib"
BUILD_DEPENDS="cmake expat-dev gcc-lib-base zlib-dev"

HOST_ARCH="i486 arm"

# What is the latest version available today?
current_version()
{
    wget -O - https://exiv2.org/download.html 2>/dev/null | \
    sed '/Exiv2 v/!d;/ource/!d;s|.*v2-||;s|-.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    mkdir    _build &&
    cd    _build &&
    cmake    ..                \
        -G "Unix Makefiles"        \
        -D CMAKE_INSTALL_PREFIX=/usr &&
    cmake    --build . &&
    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)