wok view fltk/receipt @ rev 21524

updated ncdu (1.13 -> 1.14)
author Hans-G?nter Theisgen
date Fri May 03 17:30:38 2019 +0100 (2019-05-03)
parents b36d3d58ef5c
children ec27bdc69711
line source
1 # SliTaz package receipt.
3 PACKAGE="fltk"
4 VERSION="1.3.4.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Fast Light Tool Kit (provide fluid)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://www.fltk.org/"
11 TARBALL="$PACKAGE-${VERSION/.2/-2}-source.tar.gz"
12 WGET_URL="http://fltk.org/pub/fltk/${VERSION%.*}/$TARBALL"
14 DEPENDS="expat fontconfig freetype libpng jpeg xorg-libX11 xorg-libXau xorg-libXdmcp \
15 xorg-libXext xorg-libXft xorg-libXrender zlib gcc-lib-base mesa libglu-mesa"
16 BUILD_DEPENDS="jpeg-dev libpng-dev libglu-mesa libglu-mesa-dev mesa mesa-dev \
17 xorg-libXinerama-dev xorg-libXft-dev slitaz-tools"
18 HOST_ARCH="i486 arm"
20 # Handle SliTaz arch
21 case "$SLITAZ_ARCH" in
22 arm*) DEPENDS="expat fontconfig freetype jpeg libpng xorg-libXft" ;;
23 esac
25 # Handle cross compilation.
26 case "$ARCH" in
27 #i?86)
28 # ARCH_ARGS="--with-archflags=i386" ;;
29 arm)
30 BUILD_DEPENDS="jpeg-dev libpng-dev xorg-libXft-dev"
31 ARCH_ARGS="--x-includes=/cross/$ARCH/sysroot/usr/include \
32 --x-libraries=/cross/$ARCH/sysroot/usr/lib" ;;
33 esac
35 # Rules to configure and make the package.
36 compile_rules()
37 {
38 # By now (1.3.4.2) contained in sources
39 # patch -p0 < $stuff/Fl_XFont_On_Demand.patch
41 ./configure \
42 ${ARCH_ARGS} \
43 --enable-shared \
44 --enable-xft \
45 --enable-threads \
46 $CONFIGURE_ARGS &&
47 make -j 1 lib $MAKEFLAGS &&
48 make DESTDIR=$DESTDIR install
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share/pixmaps
55 cp -a $install/usr/bin/fluid $fs/usr/bin
56 cp -a $install/usr/lib/*.so* $fs/usr/lib
57 cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png
58 }