wok-6.x annotate directfb-examples/receipt @ rev 20906
perl-glib: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 27 10:53:14 2019 +0100 (2019-02-27) |
parents | e978ec150de3 |
children | 05c8d8d9d934 |
rev | line source |
---|---|
pankso@15996 | 1 # SliTaz package receipt. |
pankso@15996 | 2 |
pankso@15996 | 3 PACKAGE="directfb-examples" |
Hans-G?nter@20837 | 4 VERSION="1.7.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" |
Hans-G?nter@20837 | 9 WEB_SITE="http://www.directfb.org/" |
Hans-G?nter@20837 | 10 |
pankso@15996 | 11 SOURCE="DirectFB-examples" |
pankso@15996 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@20837 | 13 WGET_URL="http://sources.buildroot.net/$PACKAGE/$TARBALL" |
pankso@15996 | 14 |
pankso@15996 | 15 DEPENDS="directfb" |
pankso@15996 | 16 BUILD_DEPENDS="directfb-dev" |
Hans-G?nter@20837 | 17 HOST_ARCH="i486 arm" |
pankso@15996 | 18 |
pankso@15996 | 19 # Handle cross compilation. |
pankso@15996 | 20 case "$ARCH" in |
pankso@15996 | 21 arm) |
Hans-G?nter@20847 | 22 export LDFLAGS="$LDFLAGS -L/cross/arm/sysroot/usr/lib" |
pascal@17670 | 23 export CPPFLAGS="$CPPFLAGS -I/cross/arm/sysroot/usr/include/directfb" ;; |
pankso@15996 | 24 esac |
pankso@15996 | 25 |
pankso@15996 | 26 # Rules to configure and make the package. |
pankso@15996 | 27 compile_rules() |
pankso@15996 | 28 { |
pankso@15996 | 29 ./configure \ |
pankso@15996 | 30 --prefix=/usr \ |
pankso@15996 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@20837 | 32 make -j 1 && |
Hans-G?nter@20850 | 33 make -j 1 DESTDIR=$DESTDIR install |
pankso@15996 | 34 } |
pankso@15996 | 35 |
pankso@15996 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15996 | 37 genpkg_rules() |
pankso@15996 | 38 { |
pankso@15996 | 39 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@15996 | 40 cp -a $install/usr/bin $fs/usr |
pankso@15996 | 41 cp -a $install/usr/share/directfb-* $fs/usr/share |
pankso@15996 | 42 } |
pankso@15996 | 43 |
pankso@15996 | 44 testsuite() |
pankso@15996 | 45 { |
pankso@15999 | 46 readelf -h $install/usr/bin/spacedream |
pankso@15996 | 47 } |