SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "jhead"

# SliTaz package receipt.

PACKAGE="jhead"
VERSION="3.06.0.1"
CATEGORY="graphics"
SHORT_DESC="Exif Jpeg header manipulation tool."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="PublicDomain"
WEB_SITE="https://www.sentex.net/~mwandel/jhead/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/Matthias-Wandel/$PACKAGE/archive/refs/tags/$VERSION.tar.gz"

DEPENDS=""
BUILD_DEPENDS=""

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

# Rules to configure and make the package.
compile_rules()
{
    # because dpkg-buildflags is unknown:
    sed -i 's|CPPFLAGS|#CPPFLAGS|; s|CFLAGS|#CFLAGS|; s|LDFLAGS|#LDFLAGS|' \
        makefile

    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/jhead    $fs/usr/bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)