SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "qedit"

# SliTaz package receipt.

PACKAGE="qedit"
VERSION="2.8.3"
CATEGORY="editors"
TAGS="text-editor"
SHORT_DESC="Code editor."
MAINTAINER="psychomaniak@xakep.ru"
LICENSE="GPL2"
WEB_SITE="http://hugo.pereira.free.fr/software"

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

DEPENDS="gcc83-lib-base libQtDBus libQtGui libQtNetwork xcb-util-keysyms"
BUILD_DEPENDS="cmake gcc83 qmake Qt4-dev xcb-util-keysyms-dev"

# What is the latest version available today?
current_version()
{
    wget -O - 'http://hugo.pereira.free.fr/software/index.php?page=package&package_list=software_list_qt&package=qedit&full=' 2>/dev/null | \
    sed '/qedit-/!d;/tar/!d;s|.*qedit-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    patch $src/patterns/shell_patterns.xml \
        $stuff/strvar_color_slitaz

    export    CC=gcc-83
    export    CXX=g++-83

    cmake -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)