SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ploticus"

# SliTaz package receipt.

PACKAGE="ploticus"
VERSION="2.42"
CATEGORY="misc"
SHORT_DESC="Data display engine."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL"
WEB_SITE="https://ploticus.sourceforge.net/"

#SOURCE="pl240src"
TARBALL="${PACKAGE}${VERSION/./}_src.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="zlib xorg libpng"
BUILD_DEPENDS="zlib-dev xorg-dev libpng-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    cd $src/src
    make || return 1
    mkdir -p $DESTDIR/usr/bin
    cp pl $DESTDIR/usr/bin
}

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