wok-current view directfb-examples/receipt @ rev 17550
busybox: fix zcat for lzma files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 29 16:54:25 2015 +0100 (2015-01-29) |
parents | 0fa6869e0b4b |
children | 17e313b5b9c1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="directfb-examples"
4 VERSION="1.2.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="DirectFB examples."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="DirectFB-examples"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.directfb.org/"
12 WGET_URL="http://www.directfb.org/downloads/Extras/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="directfb"
16 BUILD_DEPENDS="directfb-dev"
18 # Handle cross compilation.
19 case "$ARCH" in
20 arm)
21 export LDFLAGS="-L/cross/arm/sysroot/usr/lib"
22 export CPPFLAGS="-I/cross/arm/sysroot/usr/include/directfb" ;;
23 esac
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make && make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/directfb-* $fs/usr/share
40 }
42 testsuite()
43 {
44 readelf -h $install/usr/bin/spacedream
45 }