wok-current annotate qlcplus/receipt @ rev 25556

created recipes for nted and nted-lang
author Hans-G?nter Theisgen
date Sat Apr 22 14:54:15 2023 +0100 (20 months ago)
parents 12acee0a9787
children
rev   line source
al@18712 1 # SliTaz package receipt.
al@18712 2
al@18712 3 PACKAGE="qlcplus"
Hans-G?nter@21741 4 VERSION="4.12.1"
al@18712 5 CATEGORY="electronics"
Hans-G?nter@21741 6 SHORT_DESC="Q Light Controller Plus."
al@18712 7 MAINTAINER="al.bobylev@gmail.com"
al@18712 8 LICENSE="Apache"
pascal@20679 9 WEB_SITE="https://www.qlcplus.org/"
Hans-G?nter@21741 10
al@18712 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21741 12 WGET_URL="https://github.com/mcallegari/$PACKAGE/archive/QLC+_$VERSION.tar.gz"
al@18712 13
Hans-G?nter@21741 14 DEPENDS="alsa-lib libftdi libQtGui libQtNetwork libQtScript ola"
Hans-G?nter@21741 15 BUILD_DEPENDS="alsa-lib-dev libftdi-dev libusb-dev ola-dev qmake Qt4-dev"
al@18712 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/QLC+_\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
al@18712 23 # Rules to configure and make the package.
al@18712 24 compile_rules()
al@18712 25 {
al@18712 26 qmake &&
Hans-G?nter@21741 27 make &&
Hans-G?nter@21741 28 make INSTALL_ROOT=$install install
al@18712 29 }
al@18712 30
al@18712 31 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18712 32 genpkg_rules()
al@18712 33 {
al@18712 34 cp -a $install/* $fs
al@18712 35 }