wok-6.x annotate ola/receipt @ rev 11258

Upa ola (0.8.14, thanks Tom)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 07 21:14:26 2011 +0100 (2011-11-07)
parents ab72a4d08ed3
children 66bb816b4a9d
rev   line source
pascal@11226 1 # SliTaz package receipt.
pascal@11226 2
pascal@11226 3 PACKAGE="ola"
pascal@11258 4 VERSION="0.8.14"
pascal@11226 5 CATEGORY="network"
pascal@11226 6 SHORT_DESC="Open Lighting Architecture."
pascal@11258 7 MAINTAINER="kult-ex@aon.at"
pascal@11226 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11226 9 WEB_SITE="http://www.opendmx.net/index.php/OLA"
pascal@11226 10 WGET_URL="http://linux-lighting.googlecode.com/files/$TARBALL"
pascal@11226 11
pascal@11258 12 DEPENDS="protobuf cppunit libmicrohttpd pkg-config"
pascal@11258 13 BUILD_DEPENDS="protobuf-dev util-linux-ng-uuid-dev cppunit-dev \
pascal@11258 14 libmicrohttpd-dev zlib-dev"
pascal@11226 15
pascal@11226 16 # Rules to configure and make the package.
pascal@11226 17 compile_rules()
pascal@11226 18 {
pascal@11226 19 cd $src
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
pascal@11226 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11226 27 genpkg_rules()
pascal@11226 28 {
pascal@11226 29 mkdir -p $fs/usr/lib/olad
pascal@11226 30 cp -a $install/usr/bin $fs/usr
pascal@11226 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@11226 32 cp -a $install/usr/lib/olad/*.so* $fs/usr/lib/olad
pascal@11226 33 cp -a $install/usr/share $fs/usr
pascal@11226 34 }