wok view ola/receipt @ rev 18596
libsdl: fix post_install() status
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 13 17:31:47 2015 +0200 (2015-11-13) |
parents | 0a11f2990673 |
children | 27d9d973abab |
line source
1 # SliTaz package receipt.
3 PACKAGE="ola"
4 VERSION="0.8.21"
5 CATEGORY="network"
6 SHORT_DESC="Open Lighting Architecture."
7 MAINTAINER="kult-ex@aon.at"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.opendmx.net/index.php/OLA"
11 WGET_URL="http://open-lighting.googlecode.com/files/$TARBALL"
13 DEPENDS="protobuf cppunit libmicrohttpd gnutls libusb \
14 util-linux-uuid ncurses"
15 BUILD_DEPENDS="protobuf-dev util-linux-uuid-dev cppunit-dev \
16 libmicrohttpd-dev zlib-dev gnutls-dev libusb-dev flex ncurses-dev \
17 util-linux-uuid"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 export LDFLAGS="$LDFLAGS -ltinfo"
23 ./configure \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/olad
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/lib/olad/*.so* $fs/usr/lib/olad
36 cp -a $install/usr/share $fs/usr
37 }