wok annotate lxqt-config-randr/receipt @ rev 25264
updated re2c (1.3 -> 3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 08:59:55 2022 +0100 (2022-07-15) |
parents | b569b85b0fb9 |
children | 7364ffdaaa60 |
rev | line source |
---|---|
al@16833 | 1 # SliTaz package receipt. |
al@16833 | 2 |
al@16833 | 3 PACKAGE="lxqt-config-randr" |
psychomaniak@17239 | 4 VERSION="0.8.0" |
al@16833 | 5 CATEGORY="x-window" |
al@16833 | 6 SHORT_DESC="Qt config GUI for X11 RandR for LXQt system settings" |
al@16833 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16833 | 8 LICENSE="LGPL2.1" |
pascal@20682 | 9 WEB_SITE="https://github.com/zballina/lxqt-config-randr" |
al@16833 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25118 | 11 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL" |
al@16833 | 12 TAGS="LXQt" |
al@16833 | 13 |
al@16833 | 14 DEPENDS="libQtCore libQtGui xorg-libX11 xorg-libXext xorg-libXrandr" |
al@16833 | 15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake xorg-libX11-dev \ |
al@17242 | 16 xorg-libXrandr-dev libqtxdg-dev liblxqt-dev" |
al@16833 | 17 |
pascal@24308 | 18 # What is the latest version available today? |
pascal@24308 | 19 current_version() |
pascal@24308 | 20 { |
pascal@24308 | 21 wget -O - $WEB_SITE/releases 2>/dev/null | \ |
pascal@24308 | 22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 23 } |
pascal@24308 | 24 |
al@16833 | 25 # Rules to configure and make the package. |
al@16833 | 26 compile_rules() |
al@16833 | 27 { |
al@16833 | 28 mkdir build; cd build |
al@16833 | 29 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
al@16833 | 30 make && |
al@16833 | 31 make DESTDIR=$install install |
al@16833 | 32 } |
al@16833 | 33 |
al@16833 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16833 | 35 genpkg_rules() |
al@16833 | 36 { |
al@16833 | 37 cp -a $install/* $fs |
al@16833 | 38 } |