wok view tea/receipt @ rev 25122

Up apache (2.4.54)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 28 08:48:09 2022 +0000 (2022-06-28)
parents 4270b9b7f548
children 61cc62188020
line source
1 # SliTaz package receipt.
3 PACKAGE="tea"
4 VERSION="60.6.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 }