wok view directfb/receipt @ rev 24237

updated perl-maketext-gettext (1.26 -> 1.32)
author Hans-G?nter Theisgen
date Sun Jan 02 07:13:31 2022 +0100 (2022-01-02)
parents e79e7e35ca5c
children bfabe25c21ff
line source
1 # SliTaz package receipt.
3 PACKAGE="directfb"
4 VERSION="1.7.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="Thin library that provides hardware graphics acceleration."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.directfb.org/"
11 SOURCE="DirectFB"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="http://sources.buildroot.net/$TARBALL"
15 DEPENDS="freetype libjpeg libpng tslib zlib"
16 BUILD_DEPENDS="autoconf automake fluxcomp freetype-dev gcc83-lib-base
17 jpeg-dev libpng-dev libtool perl tslib-dev"
19 HOST_ARCH="i486 arm"
21 # Handle cross compilation.
22 case "$ARCH" in
23 arm)
24 BUILD_DEPENDS="libpng-dev jpeg-dev freetype-dev"
25 ARCH_ARGS="--with-gfxdrivers=none --disable-x11"
26 export LDFLAGS="$LDFLAGS -L/cross/arm/sysroot/usr/lib"
27 export CPPFLAGS="$CPPFLAGS -I/cross/arm/sysroot/usr/include" ;;
28 i?86)
29 export LDFLAGS="$LDFLAGS -lstdc++"
30 esac
32 # Handle SliTaz arch installation.
33 case "$SLITAZ_ARCH" in
34 arm) DEPENDS="libpng libjpeg freetype zlib" ;;
35 esac
37 # Rules to configure and make the package.
38 compile_rules()
39 {
40 ./autogen.sh \
41 --prefix=/usr \
42 --sysconfdir=/etc \
43 --with-dither-rgb16=none \
44 $CONFIGURE_ARGS \
45 $ARCH_ARGS &&
46 make -j 1 &&
47 make DESTDIR=$DESTDIR install
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/usr/lib
54 mkdir -p $fs/usr/share
56 cp -a $install/usr/bin $fs/usr
57 cp -a $install/usr/lib/*.so* $fs/usr/lib
58 cp -a $install/usr/lib/directfb-* $fs/usr/lib
59 cp -a $install/usr/share/directfb-* $fs/usr/share
60 find $fs/usr/lib -name "*.*a" -exec rm '{}' \;
61 }