wok view ola/receipt @ rev 21754
Up firefox-official (67.0.3), tinyproxy (1.10.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 19 17:26:14 2019 +0200 (2019-06-19) |
parents | 27d9d973abab |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ola"
4 VERSION="0.9.8"
5 CATEGORY="network"
6 SHORT_DESC="Open Lighting Architecture"
7 MAINTAINER="kult-ex@aon.at"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.openlighting.org/ola/"
11 WGET_URL="https://github.com/OpenLightingProject/ola/archive/$VERSION.tar.gz"
13 DEPENDS="libftdi liblo libmicrohttpd ncurses protobuf"
14 BUILD_DEPENDS="libtool flex protobuf-dev util-linux-uuid-dev cppunit-dev \
15 libmicrohttpd-dev libftdi-dev libusb-dev liblo-dev ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|libusb_set_debug(m_context,\(.*\);|#if LIBUSB_API_VERSION >= 0x01000106\
21 libusb_set_option(m_context, LIBUSB_OPTION_LOG_LEVEL,\1;\
22 #else\
23 \0\
24 #endif|' tools/ja-rule/USBDeviceManager.cpp plugins/usbdmx/*yncPluginImpl.cpp
25 export LDFLAGS="$LDFLAGS -ltinfo"
26 autoreconf -i
27 ./configure \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/olad
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/share $fs/usr
40 }