wok-next view tea/receipt @ rev 20664

liblognorm: patch isn't required
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 10 23:12:17 2018 +0300 (2018-05-10)
parents fa183ed54df9
children d5aab818505e
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="pankso@slitaz.org"
9 LICENSE="GPL3"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://semiletov.org/tea/"
12 WEB_SITE_OLD="http://tea-editor.sourceforge.net/"
13 WGET_URL="https://github.com/psemiletov/tea-qt/archive/$VERSION_GIT.tar.gz"
14 TAGS="text-editor"
16 DEPENDS="xorg-libX11 qt5-base qt5-declarative"
17 BUILD_DEPENDS="qt5-dev xorg-dev mesa-dev zlib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's|/usr/local|/usr|g' src.pro
23 qmake PREFIX=/usr && make
24 make INSTALL_ROOT="$DESTDIR" install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/share/pixmaps
31 cp -a $src/bin/tea $fs/usr/bin
32 cp -a $src/icons/tea_icon_v2.png \
33 $fs/usr/share/pixmaps/tea.png
34 }