wok-6.x annotate ola/receipt @ rev 12237
uclibc-cross-compiler: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 09 15:07:54 2012 +0200 (2012-04-09) |
parents | 7efe0d7f12d4 |
children | 73641efed1cc |
rev | line source |
---|---|
pascal@11226 | 1 # SliTaz package receipt. |
pascal@11226 | 2 |
pascal@11226 | 3 PACKAGE="ola" |
slaxemulator@12185 | 4 VERSION="0.8.18" |
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 |
pankso@12186 | 12 DEPENDS="protobuf cppunit libmicrohttpd gnutls libusb \ |
pankso@12187 | 13 util-linux-ng-uuid ncurses" |
pascal@11258 | 14 BUILD_DEPENDS="protobuf-dev util-linux-ng-uuid-dev cppunit-dev \ |
pankso@12187 | 15 libmicrohttpd-dev zlib-dev gnutls-dev libusb-dev flex ncurses-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 } |