# SliTaz package receipt. PACKAGE="liblxqt" VERSION="0.8.0" CATEGORY="system-tools" SHORT_DESC="Core utility library for all LXDE-Qt components" MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL2.1" WEB_SITE="https://github.com/lxde/liblxqt" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz" TAGS="LXQt" DEPENDS="libQtCore libQtDBus libQtGui libqtxdg xorg-libX11" BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake xorg-libX11-dev libqtxdg-dev \ libQtMimeTypes-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() { patch -p0 < $stuff/poweroff+reboot.diff mkdir build; cd build cmake -DCMAKE_INSTALL_PREFIX=/usr -DLXQT_ETC_XDG_DIR=/etc .. && make && make DESTDIR=$install install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib }