SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "moonshiner"

# SliTaz package receipt.

PACKAGE="moonshiner"
VERSION="1.0"
CATEGORY="office"
SHORT_DESC="GUI for Ghostscript's PostScript-to-PDF converter."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL3"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://moonshiner.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="python pygtk ghostscript"
BUILD_DEPENDS="python-dev pygtk-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    python setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib $fs/usr
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)