wok view tea/receipt @ rev 24100
Up gzip (1.11), lrzip (0.641), lziprecover (1.22)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 16 13:07:33 2021 +0000 (2021-09-16) |
parents | f202d3501bcd |
children | 4270b9b7f548 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tea"
4 VERSION="50.0.4"
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/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/psemiletov/tea-qt/archive/$VERSION.tar.gz"
15 DEPENDS="libQtCore libQtGui libQtXml xorg-libX11"
16 BUILD_DEPENDS="qmake Qt4-dev xorg-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 qmake PREFIX=/usr &&
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 mkdir -p $fs/usr/share/pixmaps
37 cp -a $src/bin/tea $fs/usr/bin
38 cp -a $src/icons/tea_icon_v2.png $fs/usr/share/pixmaps/tea.png
39 }