wok-next view tea/receipt @ rev 20062
Up libgdiplus (5.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 24 09:24:06 2017 +0200 (2017-10-24) |
parents | 5d53e8ccbc8d |
children | c0521c689857 |
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 mesa17-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 }