wok-current view tea/receipt @ rev 25350
updated tea (60.6.0 -> 61.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 25 14:25:43 2022 +0100 (2022-07-25) |
parents | 870e1ce31226 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="tea"
4 VERSION="61.0.0"
5 CATEGORY="development"
6 TAGS="text-editor"
7 SHORT_DESC="A QT-based text editor."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://tea.ourproject.org/"
11 REPOLOGY="tea-editor"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/psemiletov/$PACKAGE-qt/archive/$VERSION.tar.gz"
16 DEPENDS="libQtCore libQtGui libQtXml xorg-libX11"
17 BUILD_DEPENDS="qmake Qt4-dev xorg-dev"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 qmake PREFIX=/usr &&
29 make
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 mkdir -p $fs/usr/share/pixmaps
38 cp -a $src/bin/tea $fs/usr/bin
39 cp -a $src/icons/tea_icon_v2.png $fs/usr/share/pixmaps/tea.png
40 }