wok view lxqt-config-randr/receipt @ rev 25118

Use https://download.tuxfamily.org/ for some broken wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 25 16:14:50 2022 +0000 (22 months ago)
parents b569b85b0fb9
children 7364ffdaaa60
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt-config-randr"
4 VERSION="0.8.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Qt config GUI for X11 RandR for LXQt system settings"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/zballina/lxqt-config-randr"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
12 TAGS="LXQt"
14 DEPENDS="libQtCore libQtGui xorg-libX11 xorg-libXext xorg-libXrandr"
15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake xorg-libX11-dev \
16 xorg-libXrandr-dev libqtxdg-dev liblxqt-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir build; cd build
29 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
30 make &&
31 make DESTDIR=$install install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }