wok-next annotate ola/receipt @ rev 20688

OpenSSL upgrade: 1.1.0g [2 Nov 2017] -> 1.1.0h [27 Mar 2018]
author Erkan Yilmaz <erkan@slitaz.org>
date Mon May 21 19:13:18 2018 +0000 (2018-05-21)
parents c3a368c0cddb
children 0294c4c2dd54
rev   line source
al@20456 1 # SliTaz package receipt v2.
pascal@11226 2
pascal@11226 3 PACKAGE="ola"
al@20513 4 VERSION="0.10.6"
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"
al@20456 9 WEB_SITE="https://www.openlighting.org/ola/"
al@20456 10
pascal@11226 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@18702 12 WGET_URL="https://github.com/OpenLightingProject/ola/archive/$VERSION.tar.gz"
pascal@11226 13
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"
al@20456 16 SPLIT="ola-dev"
pascal@11226 17
al@20456 18 compile_rules() {
al@18702 19 autoreconf -i
pascal@11226 20 ./configure \
pascal@11226 21 --prefix=/usr \
pascal@11226 22 $CONFIGURE_ARGS &&
pascal@11226 23 make && make install
pascal@11226 24 }
pascal@11226 25
al@20456 26 genpkg_rules() {
al@20456 27 case $PACKAGE in
al@20456 28 ola)
al@20513 29 copy @std
al@20456 30 DEPENDS="libftdi liblo libmicrohttpd ncurses protobuf"
al@20456 31 ;;
al@20456 32 *-dev)
al@20513 33 copy @dev
al@20456 34 DEPENDS="ola protobuf-dev"
al@20456 35 ;;
al@20456 36 esac
pascal@11226 37 }