wok annotate ola/receipt @ rev 23496

updated python-invoice2data (0.2.42 -> 0.2.93)
author Hans-G?nter Theisgen
date Mon Apr 06 07:28:30 2020 +0100 (2020-04-06)
parents 27d9d973abab
children 5ea0ce1cecc0
rev   line source
pascal@11226 1 # SliTaz package receipt.
pascal@11226 2
pascal@11226 3 PACKAGE="ola"
al@18702 4 VERSION="0.9.8"
pascal@11226 5 CATEGORY="network"
al@18702 6 SHORT_DESC="Open Lighting Architecture"
pascal@11258 7 MAINTAINER="kult-ex@aon.at"
pascal@14996 8 LICENSE="LGPL2.1"
pascal@11226 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@18702 10 WEB_SITE="https://www.openlighting.org/ola/"
al@18702 11 WGET_URL="https://github.com/OpenLightingProject/ola/archive/$VERSION.tar.gz"
pascal@11226 12
al@18702 13 DEPENDS="libftdi liblo libmicrohttpd ncurses protobuf"
al@18702 14 BUILD_DEPENDS="libtool flex protobuf-dev util-linux-uuid-dev cppunit-dev \
al@18702 15 libmicrohttpd-dev libftdi-dev libusb-dev liblo-dev ncurses-dev"
pascal@11226 16
pascal@11226 17 # Rules to configure and make the package.
pascal@11226 18 compile_rules()
pascal@11226 19 {
pascal@21400 20 sed -i 's|libusb_set_debug(m_context,\(.*\);|#if LIBUSB_API_VERSION >= 0x01000106\
pascal@21400 21 libusb_set_option(m_context, LIBUSB_OPTION_LOG_LEVEL,\1;\
pascal@21400 22 #else\
pascal@21400 23 \0\
pascal@21400 24 #endif|' tools/ja-rule/USBDeviceManager.cpp plugins/usbdmx/*yncPluginImpl.cpp
pascal@17670 25 export LDFLAGS="$LDFLAGS -ltinfo"
al@18702 26 autoreconf -i
pascal@11226 27 ./configure \
pascal@11226 28 --prefix=/usr \
pascal@11226 29 $CONFIGURE_ARGS &&
pascal@11226 30 make && make install
pascal@11226 31 }
pascal@11226 32
pascal@11226 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11226 34 genpkg_rules()
pascal@11226 35 {
pascal@11226 36 mkdir -p $fs/usr/lib/olad
pascal@11226 37 cp -a $install/usr/bin $fs/usr
pascal@11226 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@11226 39 cp -a $install/usr/share $fs/usr
pascal@11226 40 }