SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "juffed"

# SliTaz package receipt.

PACKAGE="juffed"
VERSION="0.10"
CATEGORY="editors"
SHORT_DESC="Qt4 text & code editor"
MAINTAINER="psychomaniak@xakep.ru"
LICENSE="GPL2"
WEB_SITE="https://github.com/Mezomish/juffed"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
# COMMIT="58e2c637f1"
# VERSION="${COMMIT:0:4}git"
# WGET_URL="https://github.com/Mezomish/$PACKAGE/archive/$COMMIT.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE-$VERSION-1054.tar.bz2"
TAGS="text-editor"

DEPENDS="libQtGui libQtDBus libQtNetwork libqscintilla"
BUILD_DEPENDS="Qt4-dev cmake qmake libqscintilla-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/Mezomish/$PACKAGE/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    #sed -i 's/ ON/ OFF/g' $src/plugins/CMakeLists.txt
    cd $src && cmake \
        -DCMAKE_BUILD_TYPE=release \
        -DCMAKE_INSTALL_PREFIX=/usr . &&
    make && make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)