wok-next diff fltk/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 5669e8b3be70 |
line diff
1.1 --- a/fltk/receipt Tue Oct 16 16:46:05 2018 +0300 1.2 +++ b/fltk/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -4,41 +4,33 @@ 1.4 VERSION="1.3.4" 1.5 CATEGORY="system-tools" 1.6 SHORT_DESC="Fast Light Tool Kit" 1.7 -MAINTAINER="pankso@slitaz.org" 1.8 +MAINTAINER="devel@slitaz.org" 1.9 LICENSE="LGPL2" 1.10 -WEB_SITE="http://www.fltk.org/" 1.11 +WEB_SITE="http://www.fltk.org/index.php" 1.12 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/fltk.html" 1.13 1.14 TARBALL="$PACKAGE-$VERSION-source.tar.gz" 1.15 WGET_URL="http://fltk.org/pub/fltk/$VERSION/$TARBALL" 1.16 1.17 -BUILD_DEPENDS_arm="jpeg-dev libpng16-dev xorg-libXft-dev" 1.18 BUILD_DEPENDS="alsa-lib-dev libjpeg-turbo-dev zlib-dev libpng16-dev \ 1.19 xorg-libX11-dev xorg-libICE-dev xorg-libSM-dev mesa-dev xorg-libXinerama-dev \ 1.20 freetype-dev xorg-libXft-dev xorg-libXcursor-dev xorg-xprop" 1.21 -SPLIT="fltk-blocks fltk-checkers fltk-sudoku fltk-colbrowser fltk-editor \ 1.22 -fltk-doc fltk fltk-dev" 1.23 +SPLIT="$PACKAGE-blocks $PACKAGE-checkers $PACKAGE-sudoku $PACKAGE-colbrowser \ 1.24 +$PACKAGE-editor $PACKAGE-doc $PACKAGE $PACKAGE-dev" 1.25 COOKOPTS="!menus" 1.26 1.27 compile_rules() { 1.28 - case "$ARCH" in 1.29 - arm) ARCH_ARGS="--x-includes=/cross/$ARCH/sysroot/usr/include \ 1.30 - --x-libraries=/cross/$ARCH/sysroot/usr/lib";; 1.31 - *) ARCH_ARGS='';; 1.32 - esac 1.33 - 1.34 sed -i -e '/cat./d' documentation/Makefile 1.35 1.36 ./configure \ 1.37 --enable-shared \ 1.38 --enable-xft \ 1.39 --enable-threads \ 1.40 - $ARCH_ARGS \ 1.41 $CONFIGURE_ARGS && 1.42 sed -i 's| -shared | -Wl,-Os,--as-needed\0|g' makeinclude && 1.43 sed -i s'#"rgb.txt"#"/usr/share/fltk/rgb.txt"#' test/colbrowser.cxx && 1.44 make $MAKEFLAGS && 1.45 - make DESTDIR=$DESTDIR install || return 1 1.46 + make DESTDIR=$install install || return 1 1.47 1.48 sed -i '/mimelnk/d' fluid/Makefile 1.49 make -C fluid install-linux || return 1 1.50 @@ -102,15 +94,9 @@ 1.51 ;; 1.52 fltk) 1.53 copy @std @rm 1.54 - case "$SLITAZ_ARCH" in 1.55 - arm*) 1.56 - DEPENDS="expat fontconfig freetype jpeg libpng16 \ 1.57 - xorg-libXft" ;; 1.58 - *) 1.59 - DEPENDS="fontconfig libjpeg-turbo libpng16 mesa \ 1.60 - xorg-libX11 xorg-libXcursor xorg-libXext xorg-libXfixes \ 1.61 - xorg-libXft xorg-libXinerama xorg-libXrender" 1.62 - esac 1.63 + DEPENDS="fontconfig libjpeg-turbo libpng16 mesa \ 1.64 + xorg-libX11 xorg-libXcursor xorg-libXext xorg-libXfixes \ 1.65 + xorg-libXft xorg-libXinerama xorg-libXrender" 1.66 ;; 1.67 fltk-dev) 1.68 copy @dev @rm # remove examples in doc