wok-6.x view ola/receipt @ rev 17734
dahdi-linux: save firmware as source
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 06 11:23:56 2015 +0100 (2015-03-06) |
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 }