wok-next view tea/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents c0521c689857
children 5669e8b3be70
line source
1 # SliTaz package receipt.
3 PACKAGE="tea"
4 VERSION="44.1.0"
5 VERSION_GIT="6b7a750"
6 CATEGORY="development"
7 SHORT_DESC="Tead text editor using Qt"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="http://semiletov.org/tea/"
11 WEB_SITE_OLD="http://tea-editor.sourceforge.net/"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/psemiletov/tea-qt/archive/$VERSION_GIT.tar.gz"
16 BUILD_DEPENDS="qt5-dev xorg-dev mesa-dev zlib-dev"
18 compile_rules() {
19 sed -i 's|/usr/local|/usr|g' src.pro
20 qmake PREFIX=/usr &&
21 make &&
22 make INSTALL_ROOT="$install" install
23 }
25 genpkg_rules() {
26 mkdir -p $fs/usr/bin $fs/usr/share/pixmaps
27 cp -a $src/bin/tea $fs/usr/bin
28 cp -a $src/icons/tea_icon_v2.png \
29 $fs/usr/share/pixmaps/tea.png
30 DEPENDS="xorg-libX11 qt5-base qt5-declarative"
31 TAGS="text-editor"
32 }