wok-next view tea/receipt @ rev 20502

Swap: current mesa (which is developing and change it's version) is just mesa, while old mesa is mesa12 now (will be removed if no one old package require it).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 16 00:27:34 2018 +0200 (2018-03-16)
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 }