wok view lxqt-admin/receipt @ rev 25524

created recipes for tree-sitter and tree-sitter-dev 0.20.7
author Hans-G?nter Theisgen
date Fri Feb 24 17:21:52 2023 +0100 (21 months ago)
parents c0ce132ba4ee
children 7364ffdaaa60
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt-admin"
4 VERSION="0.8.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="LXQt system administration tool"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/lxqt-admin"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="LXQt"
14 DEPENDS="libQtCore libQtGui libffi pcre liblxqt liboobs"
15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake liboobs-dev liblxqt-dev \
16 libqtxdg-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 sed -i 's|LXQt/Application|lxqt/lxqtapplication.h|' $src/lxqt-admin-*/main.cpp
29 mkdir build; cd build
30 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
31 make &&
32 make DESTDIR=$install install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 }