SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gtkspell"

# SliTaz package receipt.

PACKAGE="gtkspell"
VERSION="2.0.16"
CATEGORY="development"
SHORT_DESC="provides highlighting and replacement of misspelled words"
MAINTAINER="allan316@gmail.com"
LICENSE="GPL2"
WEB_SITE="https://gtkspell.sourceforge.net"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/download/$TARBALL"

DEPENDS="cairo enchant gtk+"
BUILD_DEPENDS="automake libtool enchant-dev expat-dev gtk-doc \
gtk+-dev libxslt-dev docbook-xsl python3-pygments pkg-config"

HOST_ARCH="i486 arm"

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

# Rules to configure and make the package.
compile_rules()
{
    # Patch to be build with enchant-2
    # Thanks Pat :)
    patch -p1 < $stuff/gtkspell.enchant-2.diff

    gtkdocize
    autoreconf -ivf

    ./configure        \
        $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/lib/*.so* $fs/usr/lib
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)