wok-current view fltk/receipt @ rev 22984

updated keyutils and keyutils-dev (1.6 -> 1.6.1)
author Hans-G?nter Theisgen
date Sun Mar 01 07:46:00 2020 +0100 (2020-03-01)
parents cd0ceb20abac
children bfabe25c21ff
line source
1 # SliTaz package receipt.
3 PACKAGE="fltk"
4 VERSION="1.3.5"
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-source.tar.gz"
12 WGET_URL="http://fltk.org/pub/fltk/$VERSION/$TARBALL"
14 DEPENDS="expat fontconfig freetype gcc-lib-base jpeg libglu-mesa libpng mesa
15 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXft
16 xorg-libXrender zlib"
17 BUILD_DEPENDS="jpeg-dev libglu-mesa libglu-mesa-dev libpng-dev mesa mesa-dev
18 slitaz-tools xorg-libXft-dev xorg-libXinerama-dev"
20 HOST_ARCH="i486 arm"
22 # Handle SliTaz arch
23 case "$SLITAZ_ARCH" in
24 arm*) DEPENDS="expat fontconfig freetype jpeg libpng xorg-libXft" ;;
25 esac
27 # Handle cross compilation.
28 case "$ARCH" in
29 #i?86)
30 # ARCH_ARGS="--with-archflags=i386" ;;
31 arm)
32 BUILD_DEPENDS="jpeg-dev libpng-dev xorg-libXft-dev"
33 ARCH_ARGS="--x-includes=/cross/$ARCH/sysroot/usr/include \
34 --x-libraries=/cross/$ARCH/sysroot/usr/lib" ;;
35 esac
37 # Rules to configure and make the package.
38 compile_rules()
39 {
40 # By now (1.3.4.2) contained in sources
41 # patch -p0 < $stuff/Fl_XFont_On_Demand.patch
43 ./configure \
44 ${ARCH_ARGS} \
45 --enable-shared \
46 --enable-xft \
47 --enable-threads \
48 $CONFIGURE_ARGS &&
49 make -j 1 lib $MAKEFLAGS &&
50 make DESTDIR=$DESTDIR install
51 }
53 # Rules to gen a SliTaz package suitable for Tazpkg.
54 genpkg_rules()
55 {
56 mkdir -p $fs/usr/bin
57 mkdir -p $fs/usr/lib
58 mkdir -p $fs/usr/share/pixmaps
60 cp -a $install/usr/bin/fluid $fs/usr/bin
61 cp -a $install/usr/lib/*.so* $fs/usr/lib
62 cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png
63 }