wok-current annotate liblxqt/receipt @ rev 24539

updated fbgrab (1.3 -> 1.5)
author Hans-G?nter Theisgen
date Wed Feb 23 15:32:13 2022 +0100 (2022-02-23)
parents c2ca753f2eae
children
rev   line source
al@16833 1 # SliTaz package receipt.
al@16833 2
al@16833 3 PACKAGE="liblxqt"
al@17220 4 VERSION="0.8.0"
al@16833 5 CATEGORY="system-tools"
al@16833 6 SHORT_DESC="Core utility library for all LXDE-Qt components"
al@16833 7 MAINTAINER="al.bobylev@gmail.com"
al@16833 8 LICENSE="LGPL2.1"
al@16833 9 WEB_SITE="https://github.com/lxde/liblxqt"
al@16833 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@16833 11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
al@16833 12 TAGS="LXQt"
al@16833 13
al@16833 14 DEPENDS="libQtCore libQtDBus libQtGui libqtxdg xorg-libX11"
al@17220 15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake xorg-libX11-dev libqtxdg-dev \
al@17220 16 libQtMimeTypes-dev"
al@16833 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
al@16833 24 # Rules to configure and make the package.
al@16833 25 compile_rules()
al@16833 26 {
psychomaniak@17258 27 patch -p0 < $stuff/poweroff+reboot.diff
al@16833 28 mkdir build; cd build
al@17220 29 cmake -DCMAKE_INSTALL_PREFIX=/usr -DLXQT_ETC_XDG_DIR=/etc .. &&
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 mkdir -p $fs/usr/lib
al@16833 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@16833 39 }