wok-4.x annotate ola/receipt @ rev 11674
add runcom
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 18 09:00:05 2012 +0100 (2012-02-18) |
parents | 66bb816b4a9d |
children | 25299eba1118 |
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 |
gokhlayeh@11459 | 12 DEPENDS="protobuf cppunit libmicrohttpd gnutls \ |
gokhlayeh@11459 | 13 util-linux-ng-uuid" |
pascal@11258 | 14 BUILD_DEPENDS="protobuf-dev util-linux-ng-uuid-dev cppunit-dev \ |
pascal@11259 | 15 libmicrohttpd-dev zlib-dev gnutls-dev" |
pascal@11226 | 16 |
pascal@11226 | 17 # Rules to configure and make the package. |
pascal@11226 | 18 compile_rules() |
pascal@11226 | 19 { |
pascal@11226 | 20 cd $src |
pascal@11226 | 21 ./configure \ |
pascal@11226 | 22 --prefix=/usr \ |
pascal@11226 | 23 $CONFIGURE_ARGS && |
pascal@11226 | 24 make && make install |
pascal@11226 | 25 } |
pascal@11226 | 26 |
pascal@11226 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11226 | 28 genpkg_rules() |
pascal@11226 | 29 { |
pascal@11226 | 30 mkdir -p $fs/usr/lib/olad |
pascal@11226 | 31 cp -a $install/usr/bin $fs/usr |
pascal@11226 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@11226 | 33 cp -a $install/usr/lib/olad/*.so* $fs/usr/lib/olad |
pascal@11226 | 34 cp -a $install/usr/share $fs/usr |
pascal@11226 | 35 } |