wok-next annotate ola/receipt @ rev 21129
Up tk (8.6.9.1), python, talloc (2.1.15)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 18 15:42:45 2019 +0200 (2019-01-18) |
parents | 0294c4c2dd54 |
children |
rev | line source |
---|---|
al@20456 | 1 # SliTaz package receipt v2. |
pascal@11226 | 2 |
pascal@11226 | 3 PACKAGE="ola" |
al@20725 | 4 VERSION="0.10.6+20180519" |
al@20725 | 5 COMMIT="50d1535" # v.0.10.6 require protobuf < 3.2 (I don't like to downgrade it), |
al@20725 | 6 # but somewhere in pre-0.11 ola have accepted protobuf-3.5.1 |
pascal@11226 | 7 CATEGORY="network" |
al@18702 | 8 SHORT_DESC="Open Lighting Architecture" |
pascal@11258 | 9 MAINTAINER="kult-ex@aon.at" |
pascal@14996 | 10 LICENSE="LGPL2.1" |
al@20456 | 11 WEB_SITE="https://www.openlighting.org/ola/" |
al@20456 | 12 |
pascal@11226 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20725 | 14 WGET_URL="https://github.com/OpenLightingProject/ola/archive/${COMMIT:-$VERSION}.tar.gz" |
pascal@11226 | 15 |
al@18702 | 16 BUILD_DEPENDS="libtool flex protobuf-dev util-linux-uuid-dev cppunit-dev \ |
al@20725 | 17 libmicrohttpd-dev libftdi-dev libusb-dev liblo-dev ncurses-dev \ |
al@20725 | 18 libusb-compat-dev" |
al@21020 | 19 SPLIT="$PACKAGE-dev" |
pascal@11226 | 20 |
al@20456 | 21 compile_rules() { |
al@18702 | 22 autoreconf -i |
al@20725 | 23 ./configure $CONFIGURE_ARGS && |
al@20725 | 24 make && |
al@20725 | 25 make install || return 1 |
al@20725 | 26 |
al@20725 | 27 fix symlinks |
pascal@11226 | 28 } |
pascal@11226 | 29 |
al@20456 | 30 genpkg_rules() { |
al@20456 | 31 case $PACKAGE in |
al@20456 | 32 ola) |
al@20513 | 33 copy @std |
al@20725 | 34 DEPENDS="libftdi liblo libmicrohttpd libusb libusb-compat ncurses \ |
al@20725 | 35 protobuf util-linux-uuid" |
al@20456 | 36 ;; |
al@20456 | 37 *-dev) |
al@20513 | 38 copy @dev |
al@20456 | 39 DEPENDS="ola protobuf-dev" |
al@20456 | 40 ;; |
al@20456 | 41 esac |
pascal@11226 | 42 } |