wok-next annotate ola/receipt @ rev 18565
Add pass
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 09 10:16:49 2015 +0100 (2015-11-09) |
parents | 0a11f2990673 |
children | 27d9d973abab |
rev | line source |
---|---|
pascal@11226 | 1 # SliTaz package receipt. |
pascal@11226 | 2 |
pascal@11226 | 3 PACKAGE="ola" |
pascal@13179 | 4 VERSION="0.8.21" |
pascal@11226 | 5 CATEGORY="network" |
pascal@11226 | 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" |
pascal@11226 | 10 WEB_SITE="http://www.opendmx.net/index.php/OLA" |
pascal@13179 | 11 WGET_URL="http://open-lighting.googlecode.com/files/$TARBALL" |
pascal@11226 | 12 |
pankso@12186 | 13 DEPENDS="protobuf cppunit libmicrohttpd gnutls libusb \ |
pankso@12481 | 14 util-linux-uuid ncurses" |
pankso@12481 | 15 BUILD_DEPENDS="protobuf-dev util-linux-uuid-dev cppunit-dev \ |
pascal@12576 | 16 libmicrohttpd-dev zlib-dev gnutls-dev libusb-dev flex ncurses-dev \ |
pascal@12576 | 17 util-linux-uuid" |
pascal@11226 | 18 |
pascal@11226 | 19 # Rules to configure and make the package. |
pascal@11226 | 20 compile_rules() |
pascal@11226 | 21 { |
pascal@17670 | 22 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@11226 | 23 ./configure \ |
pascal@11226 | 24 --prefix=/usr \ |
pascal@11226 | 25 $CONFIGURE_ARGS && |
pascal@11226 | 26 make && make install |
pascal@11226 | 27 } |
pascal@11226 | 28 |
pascal@11226 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11226 | 30 genpkg_rules() |
pascal@11226 | 31 { |
pascal@11226 | 32 mkdir -p $fs/usr/lib/olad |
pascal@11226 | 33 cp -a $install/usr/bin $fs/usr |
pascal@11226 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@11226 | 35 cp -a $install/usr/lib/olad/*.so* $fs/usr/lib/olad |
pascal@11226 | 36 cp -a $install/usr/share $fs/usr |
pascal@11226 | 37 } |