wok annotate directfb-examples/receipt @ rev 20011
Add: description.txt and links revision.
author | Leonardo Laporte <hackdorte@yandex.com> |
---|---|
date | Thu Aug 03 07:12:33 2017 -0300 (2017-08-03) |
parents | 10baa41a7882 |
children | b02537432c11 |
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) |
pascal@17670 | 21 export LDFLAGS="$LDFLAGS -L/cross/arm/sysroot/usr/lib" |
pascal@17670 | 22 export CPPFLAGS="$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 } |