wok annotate qtermwidget/receipt @ rev 24860
updated lionwiki (3.2.9 -> 3.2.12)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 29 10:26:06 2022 +0100 (2022-03-29) |
parents | 6135577f4d08 |
children | 0262035dc1e7 |
rev | line source |
---|---|
al@16808 | 1 # SliTaz package receipt. |
al@16808 | 2 |
al@16808 | 3 PACKAGE="qtermwidget" |
al@16808 | 4 COMMIT="c12a3635127e5eb8e492f7a9c49500d8693565c0" |
al@16808 | 5 VERSION="${COMMIT:0:7}" |
al@17516 | 6 CATEGORY="system-tools" |
al@16808 | 7 SHORT_DESC="A Qt terminal widget" |
al@16808 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@16808 | 9 LICENSE="GPL2" |
pascal@20679 | 10 WEB_SITE="https://github.com/lxqt/qtermwidget" |
al@16808 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@16808 | 12 WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz" |
al@16808 | 13 |
al@16808 | 14 DEPENDS="gcc-lib-base glibc-base" |
al@16808 | 15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake" |
al@16808 | 16 |
pascal@24308 | 17 # What is the latest version available today? |
pascal@24308 | 18 current_version() |
pascal@24308 | 19 { |
pascal@24308 | 20 wget -O - $WEB_SITE/releases 2>/dev/null | \ |
pascal@24308 | 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 22 } |
pascal@24308 | 23 |
al@16808 | 24 # Rules to configure and make the package. |
al@16808 | 25 compile_rules() |
al@16808 | 26 { |
al@16808 | 27 mkdir build; cd build |
al@16808 | 28 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
al@16808 | 29 make && |
al@16808 | 30 make DESTDIR=$install install |
al@16808 | 31 } |
al@16808 | 32 |
al@16808 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16808 | 34 genpkg_rules() |
al@16808 | 35 { |
al@16808 | 36 mkdir -p $fs/usr/lib $fs/usr/share |
al@16808 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@16808 | 38 cp -a $install/usr/share/qtermwidget4 $fs/usr/share |
al@16808 | 39 } |