wok-6.x view tea/receipt @ rev 24330
updated atftp and atftpd (0.7.2 -> 0.7.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 27 15:48:06 2022 +0100 (2022-01-27) |
parents | 5ea0ce1cecc0 |
children | 870e1ce31226 |
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="http://semiletov.org/tea/"
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 }