wok-undigest rev 464
Add ola (Open Lighting Architecture) - For Thomas
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Sep 08 18:51:18 2011 +0200 (2011-09-08) |
parents | 7dca352ed951 |
children | 182115fc6d06 |
files | ola-dev/receipt ola/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ola-dev/receipt Thu Sep 08 18:51:18 2011 +0200 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="ola-dev" 1.7 +VERSION="0.8.12" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Open Lighting Architecture devel files." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +WEB_SITE="http://www.opendmx.net/index.php/OLA" 1.12 +WANTED="ola" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/lib/olad 1.18 + cp -a $install/usr/include $fs/usr 1.19 + cp -a $install/usr/lib/*.*a $fs/usr/lib 1.20 + cp -a $install/usr/lib/olad/*.*a $fs/usr/lib/olad 1.21 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.22 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/ola/receipt Thu Sep 08 18:51:18 2011 +0200 2.3 @@ -0,0 +1,33 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="ola" 2.7 +VERSION="0.8.12" 2.8 +CATEGORY="network" 2.9 +SHORT_DESC="Open Lighting Architecture." 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.12 +WEB_SITE="http://www.opendmx.net/index.php/OLA" 2.13 +WGET_URL="http://linux-lighting.googlecode.com/files/$TARBALL" 2.14 + 2.15 +DEPENDS="protobuf cppunit" 2.16 +BUILD_DEPENDS="protobuf-dev util-linux-ng-uuid-dev cppunit-dev" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + cd $src 2.22 + ./configure \ 2.23 + --prefix=/usr \ 2.24 + $CONFIGURE_ARGS && 2.25 + make && make install 2.26 +} 2.27 + 2.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.29 +genpkg_rules() 2.30 +{ 2.31 + mkdir -p $fs/usr/lib/olad 2.32 + cp -a $install/usr/bin $fs/usr 2.33 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.34 + cp -a $install/usr/lib/olad/*.so* $fs/usr/lib/olad 2.35 + cp -a $install/usr/share $fs/usr 2.36 +}