SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gummi"

# SliTaz package receipt.

PACKAGE="gummi"
VERSION="0.6.6"
CATEGORY="office"
TAGS="editor LaTeX"
SHORT_DESC="LaTeX editor designed with simplicity in mind."
MAINTAINER="pankso@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://github.com/alexandervdm/gummi"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/alexandervdm/$PACKAGE/releases/download/$VERSION/$TARBALL"

DEPENDS="gtk+ gtksourceview gtkspell poppler"
BUILD_DEPENDS="glib gtk+-dev gtksourceview-dev gtkspell-dev intltool poppler-dev"

current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure $CONFIGURE_ARGS &&
    make LDFLAGS="-Wl,--copy-dt-needed-entries -lgthread-2.0" -j 1 &&
    make install
}

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