wok view ola/receipt @ rev 25670

Up mediawiki (1.41.0), memcached (1.6.23), metasploit (6.3.56), modsecurity-apache (2.9.7), mutt (2.2.12), ncurses (6.4), nginx (1.25.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 17:20:49 2024 +0000 (8 months ago)
parents e1e1678c5265
children ac7aeefa3415
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/releases/download/$VERSION/$TARBALL"
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|AM_PATH_CPPUNIT(\[|PKG_CHECK_MODULES([CPPUNIT], [cppunit >= |' configure.ac
28 sed -i 's|libusb_set_debug(m_context,\(.*\);|#if LIBUSB_API_VERSION >= 0x01000106\
29 libusb_set_option(m_context, LIBUSB_OPTION_LOG_LEVEL,\1;\
30 #else\
31 \0\
32 #endif|' tools/ja-rule/USBDeviceManager.cpp plugins/usbdmx/*yncPluginImpl.cpp
33 export LDFLAGS="$LDFLAGS -ltinfo"
34 autoreconf -i
35 ./configure \
36 --prefix=/usr \
37 $CONFIGURE_ARGS &&
38 make && make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib/olad
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/share $fs/usr
48 }