wok view directfb-examples/receipt @ rev 23518
updated python-ofxparse (0.14 -> 0.20)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 13:29:12 2020 +0100 (2020-04-06) |
parents | e978ec150de3 |
children | 05c8d8d9d934 |
line source
1 # SliTaz package receipt.
3 PACKAGE="directfb-examples"
4 VERSION="1.7.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="DirectFB examples."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.directfb.org/"
11 SOURCE="DirectFB-examples"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="http://sources.buildroot.net/$PACKAGE/$TARBALL"
15 DEPENDS="directfb"
16 BUILD_DEPENDS="directfb-dev"
17 HOST_ARCH="i486 arm"
19 # Handle cross compilation.
20 case "$ARCH" in
21 arm)
22 export LDFLAGS="$LDFLAGS -L/cross/arm/sysroot/usr/lib"
23 export CPPFLAGS="$CPPFLAGS -I/cross/arm/sysroot/usr/include/directfb" ;;
24 esac
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make -j 1 &&
33 make -j 1 DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/directfb-* $fs/usr/share
42 }
44 testsuite()
45 {
46 readelf -h $install/usr/bin/spacedream
47 }