wok-6.x annotate directfb/receipt @ rev 22917
recompiled libetpan and libetpan-dev
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 24 14:00:31 2020 +0100 (2020-02-24) |
parents | e978ec150de3 |
children | 3fdf0e2152ae |
rev | line source |
---|---|
pascal@11220 | 1 # SliTaz package receipt. |
pascal@11220 | 2 |
pascal@11220 | 3 PACKAGE="directfb" |
Hans-G?nter@20836 | 4 VERSION="1.7.7" |
pascal@11220 | 5 CATEGORY="system-tools" |
pascal@11220 | 6 SHORT_DESC="Thin library that provides hardware graphics acceleration." |
pascal@11220 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@20836 | 9 WEB_SITE="http://www.directfb.org/" |
Hans-G?nter@20836 | 10 |
pascal@11220 | 11 SOURCE="DirectFB" |
pascal@11220 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@20836 | 13 WGET_URL="http://sources.buildroot.net/$TARBALL" |
pascal@11220 | 14 |
Hans-G?nter@20845 | 15 DEPENDS="freetype libpng libjpeg tslib zlib" |
Hans-G?nter@20848 | 16 BUILD_DEPENDS="autoconf automake fluxcomp freetype-dev jpeg-dev libpng-dev libtool perl tslib-dev" |
Hans-G?nter@20836 | 17 HOST_ARCH="i486 arm" |
pascal@15579 | 18 |
pankso@15969 | 19 # Handle cross compilation. |
pankso@15969 | 20 case "$ARCH" in |
pankso@15969 | 21 arm) |
pankso@15996 | 22 BUILD_DEPENDS="libpng-dev jpeg-dev freetype-dev" |
pankso@15996 | 23 ARCH_ARGS="--with-gfxdrivers=none --disable-x11" |
pascal@17670 | 24 export LDFLAGS="$LDFLAGS -L/cross/arm/sysroot/usr/lib" |
pascal@17670 | 25 export CPPFLAGS="$CPPFLAGS -I/cross/arm/sysroot/usr/include" ;; |
pankso@15969 | 26 esac |
pankso@15969 | 27 |
pankso@15969 | 28 # Handle SliTaz arch installation. |
pankso@15969 | 29 case "$SLITAZ_ARCH" in |
pankso@15996 | 30 arm) DEPENDS="libpng libjpeg freetype zlib" ;; |
pankso@15969 | 31 esac |
pankso@15969 | 32 |
pascal@11220 | 33 # Rules to configure and make the package. |
pascal@11220 | 34 compile_rules() |
pascal@11220 | 35 { |
Hans-G?nter@20847 | 36 ./autogen.sh \ |
pankso@15969 | 37 --prefix=/usr \ |
pankso@15969 | 38 --sysconfdir=/etc \ |
pankso@15969 | 39 --with-dither-rgb16=none \ |
pankso@15996 | 40 $CONFIGURE_ARGS $ARCH_ARGS && |
Hans-G?nter@20836 | 41 make -j 1 && |
Hans-G?nter@20836 | 42 make DESTDIR=$DESTDIR install |
pascal@11220 | 43 } |
pascal@11220 | 44 |
pascal@11220 | 45 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11220 | 46 genpkg_rules() |
pascal@11220 | 47 { |
pascal@11220 | 48 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@15579 | 49 cp -a $install/usr/bin $fs/usr |
pascal@15579 | 50 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@15997 | 51 cp -a $install/usr/lib/directfb-* $fs/usr/lib |
pascal@15579 | 52 cp -a $install/usr/share/directfb-* $fs/usr/share |
pascal@11220 | 53 find $fs/usr/lib -name "*.*a" -exec rm '{}' \; |
pascal@11220 | 54 } |