wok-6.x view directfb-examples/receipt @ rev 17670
Add missing -ltinfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 17 09:42:47 2015 +0100 (2015-02-17) |
parents | 10baa41a7882 |
children | b02537432c11 |
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="$LDFLAGS -L/cross/arm/sysroot/usr/lib"
22 export CPPFLAGS="$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 }