wok-current view liblxqt/receipt @ rev 25520

created recipes for libluv and libluv-dev 1.44.2.1
author Hans-G?nter Theisgen
date Fri Feb 24 15:44:32 2023 +0100 (21 months ago)
parents c2ca753f2eae
children
line source
1 # SliTaz package receipt.
3 PACKAGE="liblxqt"
4 VERSION="0.8.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Core utility library for all LXDE-Qt components"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/liblxqt"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="LXQt"
14 DEPENDS="libQtCore libQtDBus libQtGui libqtxdg xorg-libX11"
15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake xorg-libX11-dev libqtxdg-dev \
16 libQtMimeTypes-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 patch -p0 < $stuff/poweroff+reboot.diff
28 mkdir build; cd build
29 cmake -DCMAKE_INSTALL_PREFIX=/usr -DLXQT_ETC_XDG_DIR=/etc .. &&
30 make &&
31 make DESTDIR=$install install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }