SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "kkedit"

# SliTaz package receipt.

PACKAGE="kkedit"
VERSION="0.4.2"
CATEGORY="development"
SHORT_DESC="Source code text editor."
MAINTAINER="al.bobylev@gmail.com"
LICENSE="GPL3"
WEB_SITE="https://github.com/KeithDHedger/KKEdit"

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

SUGGESTED="aspell"
DEPENDS="gtk+ gtksourceview libunique"
BUILD_DEPENDS="aspell-dev autoconf automake ctags gtk+-dev 
    gtksourceview-dev libtool libunique-dev libxml2-dev vte-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        --disable-docviewer    \
        --prefix=/usr &&
    make &&
    make install
}

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

    cp -a $install/usr/bin            $fs/usr
    cp -a $stuff/*.desktop            $fs/usr/share/applications
    cp -a $stuff/*.png            $fs/usr/share/pixmaps
    cp -a $install/usr/share/KKEdit/tools    $fs/usr/share/KKEdit
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)