SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ijs"

# SliTaz package receipt.

PACKAGE="ijs"
VERSION="0.35"
CATEGORY="office"
SHORT_DESC="IJS API function"
MAINTAINER="mojo@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://openprinting.org/"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://www.openprinting.org/download/ijs/download/$TARBALL"

DEPENDS=""
BUILD_DEPENDS="wget"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure \
                    --prefix=/usr \
                    --mandir=/usr/share/man \
                    --enable-shared \
                    --disable-static \
                    $CONFIGURE_ARGS && make && make 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
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)