wok-next view ola/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | 0294c4c2dd54 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ola"
4 VERSION="0.10.6+20180519"
5 COMMIT="50d1535" # v.0.10.6 require protobuf < 3.2 (I don't like to downgrade it),
6 # but somewhere in pre-0.11 ola have accepted protobuf-3.5.1
7 CATEGORY="network"
8 SHORT_DESC="Open Lighting Architecture"
9 MAINTAINER="kult-ex@aon.at"
10 LICENSE="LGPL2.1"
11 WEB_SITE="https://www.openlighting.org/ola/"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/OpenLightingProject/ola/archive/${COMMIT:-$VERSION}.tar.gz"
16 BUILD_DEPENDS="libtool flex protobuf-dev util-linux-uuid-dev cppunit-dev \
17 libmicrohttpd-dev libftdi-dev libusb-dev liblo-dev ncurses-dev \
18 libusb-compat-dev"
19 SPLIT="$PACKAGE-dev"
21 compile_rules() {
22 autoreconf -i
23 ./configure $CONFIGURE_ARGS &&
24 make &&
25 make install || return 1
27 fix symlinks
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 ola)
33 copy @std
34 DEPENDS="libftdi liblo libmicrohttpd libusb libusb-compat ncurses \
35 protobuf util-linux-uuid"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="ola protobuf-dev"
40 ;;
41 esac
42 }