wok-current view lxqt-admin/receipt @ rev 25642
Bump linux to 4.19.305, add linux-pae-ipv6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Jan 17 12:05:22 2024 +0000 (11 months ago) |
parents | c0ce132ba4ee |
children |
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 }