wok-6.x view fltk-2.0.x/receipt @ rev 22760

updated findutils (4.6.0 -> 4.7.0)
author Hans-G?nter Theisgen
date Fri Jan 24 17:10:12 2020 +0100 (2020-01-24)
parents 5d0ae6405d4c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="fltk-2.0.x"
4 VERSION="r7725"
5 CATEGORY="system-tools"
6 SHORT_DESC="Fast Light Tool Kit (provide fluid)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.fltk.org/"
11 WGET_URL="subversion|http://svn.easysw.com/public/fltk/fltk/trunk"
12 BRANCH="${VERSION#r}"
14 DEPENDS="expat fontconfig freetype jpeg xorg-libX11 xorg-libXau xorg-libXdmcp \
15 xorg-libXext xorg-libXft xorg-libXrender zlib libpng xorg-libXi \
16 xorg-libXinerama gcc-lib-base"
17 BUILD_DEPENDS="xorg-libXft-dev libglu-mesa libglu-mesa-dev mesa mesa-dev \
18 subversion autoconf"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 find -name Makefile | sed 's/Makefile/makedepend/' | xargs touch -d 197001010000
25 patch -p0 src/filename_list.cxx <<EOF
26 66c66
27 < int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
28 ---
29 > int n = scandir(d, list, 0, (int(*)(const dirent64**,const dirent64**))sort);
30 EOF
31 autoconf
32 export LD_LIBRARY_PATH="/lib:/usr/lib:$src/lib"
33 ./configure \
34 --prefix=/usr \
35 --mandir=/usr/share/man \
36 --enable-shared \
37 --enable-xft \
38 $CONFIGURE_ARGS &&
39 make &&
40 cp -f fltk2-config /usr/bin &&
41 make DESTDIR=$DESTDIR install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 # Remove gl support --> fltk-2.0.x-gl
50 rm $fs/usr/lib/libfltk2*gl*
51 }