blob: b5c4ddbf7ca409635ad3a6dc930abd6b5e459950 (
plain)
1 # Description: Cross-platform C++ GUI toolkit for Unix, Windows and Mac OS X.
2 # URL: http://www.fltk.org/
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: Ivan Lyanguzov, tzong at tzong dot spb dot ru
5 # Depends on: alsa-lib libjpeg libpng mesa3d xorg-libxft xorg-libxinerama
6
7 name=fltk
8 version=1.1.9
9 release=1
10 source=(http://ftp.easysw.com/pub/fltk/$version/fltk-$version-source.tar.bz2)
11
12 build() {
13 cd fltk-$version
14
15 #export CFLAGS="$CFLAGS -fno-strict-aliasing"
16 #export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
17
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/man \
21 --enable-threads \
22 --disable-static \
23 --enable-shared \
24 --enable-xft
25
26 make
27 make DESTDIR=$PKG install
28 chmod a-x $PKG/usr/lib/*.a
29 rm -r $PKG/usr/{share,man/cat?}
30 }
|