SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "mousepad"

# SliTaz package receipt.

PACKAGE="mousepad"
VERSION="0.4.2"
CATEGORY="x-window"
TAGS="text-editor"
SHORT_DESC="Xfce Text Editor."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://docs.xfce.org/apps/mousepad/start"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"

SUGGESTED="mousepad-lang"
DEPENDS="dbus-glib gtk+ gtksourceview libgio xfconf xorg-libXdamage"
BUILD_DEPENDS="dbus-glib-dev gtk+-dev gtksourceview-dev intltool 
    libgio-dev xfconf-dev"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null |
    sed '/ released /!d;s| released.*||;s|.*mousepad ||'
}

# Rules to configure and make the package.
compile_rules()
{
    export    CFLAGS="$CFLAGS -I/usr/include/gio-unix-2.0"

    ./configure            \
        --prefix=/usr        \
        --enable-debug=no    \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    schemas
}
6011 packages and 861676 files in cooking database (Sun Jun 15 00:48:28 2025)