# SliTaz package receipt. PACKAGE="qlcplus" VERSION="4.12.1" CATEGORY="electronics" SHORT_DESC="Q Light Controller Plus." MAINTAINER="al.bobylev@gmail.com" LICENSE="Apache" WEB_SITE="https://www.qlcplus.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/mcallegari/$PACKAGE/archive/QLC+_$VERSION.tar.gz" DEPENDS="alsa-lib libftdi libQtGui libQtNetwork libQtScript ola" BUILD_DEPENDS="alsa-lib-dev libftdi-dev libusb-dev ola-dev qmake Qt4-dev" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/QLC+_\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { qmake && make && make INSTALL_ROOT=$install install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }