wok-6.x annotate fltk/receipt @ rev 20669
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 21 12:26:11 2019 +0100 (2019-01-21) |
parents | e1759a3c14ec |
children | db951131add1 |
rev | line source |
---|---|
pankso@627 | 1 # SliTaz package receipt. |
pankso@627 | 2 |
pankso@627 | 3 PACKAGE="fltk" |
pascal@19441 | 4 VERSION="1.3.3" |
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" |
devl547@11260 | 9 TARBALL="$PACKAGE-$VERSION-source.tar.gz" |
pascal@20669 | 10 WEB_SITE="https://www.fltk.org/" |
pankso@16084 | 11 WGET_URL="http://fltk.org/pub/fltk/$VERSION/$TARBALL" |
pankso@16357 | 12 HOST_ARCH="i486 arm" |
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@19447 | 17 xorg-libXinerama-dev xorg-libXft-dev" |
pascal@13796 | 18 |
pankso@16357 | 19 # Handle SliTaz arch |
pankso@16357 | 20 case "$SLITAZ_ARCH" in |
pankso@16359 | 21 arm*) DEPENDS="expat fontconfig freetype jpeg libpng xorg-libXft" ;; |
pankso@16357 | 22 esac |
pankso@16357 | 23 |
pankso@16085 | 24 # Handle cross compilation. |
pankso@16084 | 25 case "$ARCH" in |
pascal@16364 | 26 #i?86) |
pascal@16364 | 27 # ARCH_ARGS="--with-archflags=i386" ;; |
pankso@16357 | 28 arm) |
pankso@16357 | 29 BUILD_DEPENDS="jpeg-dev libpng-dev xorg-libXft-dev" |
pankso@16358 | 30 ARCH_ARGS="--x-includes=/cross/$ARCH/sysroot/usr/include \ |
pankso@16358 | 31 --x-libraries=/cross/$ARCH/sysroot/usr/lib" ;; |
pankso@16084 | 32 esac |
pankso@16084 | 33 |
pankso@627 | 34 # Rules to configure and make the package. |
pankso@627 | 35 compile_rules() |
pankso@627 | 36 { |
pascal@19447 | 37 patch -p0 < $stuff/Fl_XFont_On_Demand.patch |
pankso@16357 | 38 ./configure ${ARCH_ARGS} \ |
pankso@627 | 39 --enable-shared \ |
pankso@627 | 40 --enable-xft \ |
slaxemulator@6557 | 41 --enable-threads \ |
pascal@1492 | 42 $CONFIGURE_ARGS && |
pankso@16357 | 43 make lib $MAKEFLAGS && |
pascal@13796 | 44 make DESTDIR=$DESTDIR install |
pankso@627 | 45 } |
pankso@627 | 46 |
pankso@627 | 47 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@627 | 48 genpkg_rules() |
pankso@627 | 49 { |
pankso@627 | 50 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share/pixmaps |
pascal@13796 | 51 cp -a $install/usr/bin/fluid $fs/usr/bin |
pascal@13796 | 52 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@627 | 53 cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png |
pankso@627 | 54 } |