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