32 lines
757 B
Plaintext
32 lines
757 B
Plaintext
# Description: Cross-platform C++ GUI toolkit for Unix, Windows and Mac OS X.
|
|
# URL: http://www.fltk.org/
|
|
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
|
#alsa-lit Packager: Ivan Lyanguzov, tzong at tzong dot spb dot ru
|
|
# Depends on: alsa-lib libjpeg libpng mesa3d xorg-libxft xorg-libxinerama
|
|
|
|
name=fltk
|
|
version=1.1.7
|
|
release=3
|
|
source=(http://ftp.easysw.com/pub/fltk/$version/fltk-$version-source.tar.bz2)
|
|
|
|
build() {
|
|
cd fltk-$version
|
|
|
|
export CFLAGS="$CFLAGS -fno-strict-aliasing"
|
|
export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--enable-threads \
|
|
--disable-static \
|
|
--enable-shared \
|
|
--enable-xft
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/{share,man/cat?}
|
|
}
|
|
|