2006-11-30 21:10:34 +11:00
|
|
|
# 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
|
|
|
|
# Packager: Ivan Lyanguzov, tzong at tzong dot spb dot ru
|
2007-12-22 14:49:36 +11:00
|
|
|
# Depends on: xorg-libx11 xorg-libsm xorg-libice
|
2006-11-30 21:10:34 +11:00
|
|
|
|
|
|
|
name=fltk
|
|
|
|
version=1.1.7
|
2007-12-22 14:49:36 +11:00
|
|
|
release=3
|
2007-04-01 18:11:15 +10:00
|
|
|
source=(http://ftp.easysw.com/pub/fltk/$version/fltk-$version-source.tar.bz2)
|
2006-11-30 21:10:34 +11:00
|
|
|
|
|
|
|
build() {
|
2007-04-01 18:11:15 +10:00
|
|
|
cd fltk-$version
|
2006-11-30 21:10:34 +11:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2007-06-24 14:23:45 +10:00
|
|
|
--enable-threads \
|
2007-12-22 14:49:36 +11:00
|
|
|
--disable-static \
|
2006-11-30 21:10:34 +11:00
|
|
|
--enable-shared \
|
|
|
|
--enable-xft
|
|
|
|
|
2007-04-21 19:03:15 +10:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-12-22 14:49:36 +11:00
|
|
|
|
2006-11-30 21:10:34 +11:00
|
|
|
install -d $PKG/usr/man/{man1,man3}
|
2007-12-22 14:49:36 +11:00
|
|
|
install -m 0644 $PKG/usr/share/man/man1/* -t $PKG/usr/man/man1/
|
|
|
|
install -m 0644 $PKG/usr/share/man/man3/* -t $PKG/usr/man/man3/
|
|
|
|
|
2006-11-30 21:10:34 +11:00
|
|
|
rm -r $PKG/usr/share
|
|
|
|
}
|
|
|
|
|