# SliTaz package receipt. PACKAGE="lxqt-admin" VERSION="0.8.0" CATEGORY="system-tools" SHORT_DESC="LXQt system administration tool" MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL2.1" WEB_SITE="https://github.com/lxde/lxqt-admin" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz" TAGS="LXQt" DEPENDS="libQtCore libQtGui libffi pcre liblxqt liboobs" BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake liboobs-dev liblxqt-dev \ libqtxdg-dev" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { sed -i 's|LXQt/Application|lxqt/lxqtapplication.h|' $src/lxqt-admin-*/main.cpp mkdir build; cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. && make && make DESTDIR=$install install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }