wok-next annotate directfb-examples/receipt @ rev 16928
Add musique.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 18 17:21:16 2014 +0300 (2014-07-18) |
parents | 0fa6869e0b4b |
children | 17e313b5b9c1 |
rev | line source |
---|---|
pankso@15996 | 1 # SliTaz package receipt. |
pankso@15996 | 2 |
pankso@15996 | 3 PACKAGE="directfb-examples" |
pankso@15996 | 4 VERSION="1.2.0" |
pankso@15996 | 5 CATEGORY="system-tools" |
pankso@15996 | 6 SHORT_DESC="DirectFB examples." |
pankso@15996 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@16660 | 8 LICENSE="MIT" |
pankso@15996 | 9 SOURCE="DirectFB-examples" |
pankso@15996 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@15996 | 11 WEB_SITE="http://www.directfb.org/" |
pankso@15996 | 12 WGET_URL="http://www.directfb.org/downloads/Extras/$TARBALL" |
pankso@15996 | 13 HOST_ARCH="i486 arm" |
pankso@15996 | 14 |
pankso@15996 | 15 DEPENDS="directfb" |
pankso@15996 | 16 BUILD_DEPENDS="directfb-dev" |
pankso@15996 | 17 |
pankso@15996 | 18 # Handle cross compilation. |
pankso@15996 | 19 case "$ARCH" in |
pankso@15996 | 20 arm) |
pankso@15996 | 21 export LDFLAGS="-L/cross/arm/sysroot/usr/lib" |
pankso@15996 | 22 export CPPFLAGS="-I/cross/arm/sysroot/usr/include/directfb" ;; |
pankso@15996 | 23 esac |
pankso@15996 | 24 |
pankso@15996 | 25 # Rules to configure and make the package. |
pankso@15996 | 26 compile_rules() |
pankso@15996 | 27 { |
pankso@15996 | 28 ./configure \ |
pankso@15996 | 29 --prefix=/usr \ |
pankso@15996 | 30 $CONFIGURE_ARGS && |
pankso@15996 | 31 make && make DESTDIR=$DESTDIR install |
pankso@15996 | 32 } |
pankso@15996 | 33 |
pankso@15996 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15996 | 35 genpkg_rules() |
pankso@15996 | 36 { |
pankso@15996 | 37 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@15996 | 38 cp -a $install/usr/bin $fs/usr |
pankso@15996 | 39 cp -a $install/usr/share/directfb-* $fs/usr/share |
pankso@15996 | 40 } |
pankso@15996 | 41 |
pankso@15996 | 42 testsuite() |
pankso@15996 | 43 { |
pankso@15999 | 44 readelf -h $install/usr/bin/spacedream |
pankso@15996 | 45 } |