SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "tea"

# SliTaz package receipt.

PACKAGE="tea"
VERSION="61.0.0"
CATEGORY="development"
TAGS="text-editor"
SHORT_DESC="A QT-based text editor."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://tea.ourproject.org/"
REPOLOGY="tea-editor"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/psemiletov/$PACKAGE-qt/archive/$VERSION.tar.gz"

DEPENDS="libQtCore libQtGui libQtXml xorg-libX11"
BUILD_DEPENDS="qmake Qt4-dev xorg-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()
{
    qmake PREFIX=/usr &&
    make
}

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

    cp -a $src/bin/tea            $fs/usr/bin
    cp -a $src/icons/tea_icon_v2.png    $fs/usr/share/pixmaps/tea.png
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)