wok annotate tea/receipt @ rev 24190
updated perl-crypt-cbc (2.33 -> 3.04)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 14:34:21 2021 +0100 (2021-12-31) |
parents | f202d3501bcd |
children | 4270b9b7f548 |
rev | line source |
---|---|
pankso@12283 | 1 # SliTaz package receipt. |
pankso@12283 | 2 |
pankso@12283 | 3 PACKAGE="tea" |
Hans-G?nter@23694 | 4 VERSION="50.0.4" |
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/" |
pankso@12283 | 11 |
Hans-G?nter@22016 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22016 | 13 WGET_URL="https://github.com/psemiletov/tea-qt/archive/$VERSION.tar.gz" |
Hans-G?nter@22016 | 14 |
Hans-G?nter@22016 | 15 DEPENDS="libQtCore libQtGui libQtXml xorg-libX11" |
Hans-G?nter@22016 | 16 BUILD_DEPENDS="qmake Qt4-dev xorg-dev" |
pankso@12283 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pankso@12283 | 24 # Rules to configure and make the package. |
pankso@12283 | 25 compile_rules() |
pankso@12283 | 26 { |
Hans-G?nter@22016 | 27 qmake PREFIX=/usr && |
Hans-G?nter@22016 | 28 make |
pankso@12283 | 29 } |
pankso@12283 | 30 |
pankso@12283 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12283 | 32 genpkg_rules() |
pankso@12283 | 33 { |
Hans-G?nter@22016 | 34 mkdir -p $fs/usr/bin |
Hans-G?nter@22016 | 35 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@22016 | 36 |
Hans-G?nter@22016 | 37 cp -a $src/bin/tea $fs/usr/bin |
Hans-G?nter@22016 | 38 cp -a $src/icons/tea_icon_v2.png $fs/usr/share/pixmaps/tea.png |
pankso@12283 | 39 } |