SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "jpegtran"

# SliTaz package receipt.

PACKAGE="jpegtran"
VERSION="9d"
CATEGORY="graphics"
SHORT_DESC="Convert jpeg files to progressive jpeg files."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="MIT"
WEB_SITE="http://jpegclub.org/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="${WEB_SITE}jpegcrop.tar.gz"    # no version here!

DEPENDS=""
BUILD_DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/current version is release/!d;s|.*release ||;s| of.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src/jpeg*
    ./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/lib

    cp -a $install/usr/bin        $fs/usr
    cp -a $install/usr/lib/*.so*    $fs/usr/lib
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)