wok-6.x annotate tea/receipt @ rev 24525
Up libav (0.6.6 -> 12.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 22 16:15:28 2022 +0000 (2022-02-22) |
parents | 5ea0ce1cecc0 |
children | 870e1ce31226 |
rev | line source |
---|---|
pankso@12283 | 1 # SliTaz package receipt. |
pankso@12283 | 2 |
pankso@12283 | 3 PACKAGE="tea" |
Hans-G?nter@24301 | 4 VERSION="60.6.0" |
pankso@12283 | 5 CATEGORY="development" |
Hans-G?nter@22016 | 6 TAGS="text-editor" |
Hans-G?nter@22016 | 7 SHORT_DESC="A QT-based text editor." |
pankso@12283 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15201 | 9 LICENSE="GPL3" |
Hans-G?nter@22016 | 10 WEB_SITE="http://semiletov.org/tea/" |
Hans-G?nter@24301 | 11 REPOLOGY="tea-editor" |
pankso@12283 | 12 |
Hans-G?nter@22016 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24301 | 14 WGET_URL="https://github.com/psemiletov/$PACKAGE-qt/archive/$VERSION.tar.gz" |
Hans-G?nter@22016 | 15 |
Hans-G?nter@22016 | 16 DEPENDS="libQtCore libQtGui libQtXml xorg-libX11" |
Hans-G?nter@22016 | 17 BUILD_DEPENDS="qmake Qt4-dev xorg-dev" |
pankso@12283 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
pankso@12283 | 25 # Rules to configure and make the package. |
pankso@12283 | 26 compile_rules() |
pankso@12283 | 27 { |
Hans-G?nter@22016 | 28 qmake PREFIX=/usr && |
Hans-G?nter@22016 | 29 make |
pankso@12283 | 30 } |
pankso@12283 | 31 |
pankso@12283 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12283 | 33 genpkg_rules() |
pankso@12283 | 34 { |
Hans-G?nter@22016 | 35 mkdir -p $fs/usr/bin |
Hans-G?nter@22016 | 36 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@22016 | 37 |
Hans-G?nter@22016 | 38 cp -a $src/bin/tea $fs/usr/bin |
Hans-G?nter@22016 | 39 cp -a $src/icons/tea_icon_v2.png $fs/usr/share/pixmaps/tea.png |
pankso@12283 | 40 } |