SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "l3afpad"

# SliTaz package receipt.

PACKAGE="l3afpad"
VERSION="0.8.18.1.11"
CATEGORY="utilities"
TAGS="text-editor"
SHORT_DESC="Simple text editor forked from Leafpad, supports GTK+ 3.x"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="LGPL2.1"
WEB_SITE="https://github.com/stevenhoneyman/l3afpad"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"

DEPENDS="gtk+3"
BUILD_DEPENDS="autoconf automake gtk+3-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    ./autogen.sh &&
    ./configure            \
        --enable-gtkgrid    \
        --enable-search-history    \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/pixmaps

    cp -a $install/usr/bin            $fs/usr
    cp -a $install/usr/share/pixmaps/*.png    $fs/usr/share/pixmaps
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)