wok view tea/receipt @ rev 25740
Fix vlc build, 3.x required Qt5
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Aug 25 19:45:07 2024 +0200 (2 months ago) |
parents | 61cc62188020 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="tea"
4 VERSION="61.0.0"
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="https://tea.ourproject.org/"
11 REPOLOGY="tea-editor"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/psemiletov/$PACKAGE-qt/archive/$VERSION.tar.gz"
16 DEPENDS="libQtCore libQtGui libQtXml xorg-libX11"
17 BUILD_DEPENDS="qmake Qt4-dev xorg-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 qmake PREFIX=/usr &&
30 make
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 mkdir -p $fs/usr/share/pixmaps
39 cp -a $src/bin/tea $fs/usr/bin
40 cp -a $src/icons/tea_icon_v2.png $fs/usr/share/pixmaps/tea.png
41 }