29 lines
798 B
Plaintext
29 lines
798 B
Plaintext
|
# Description: Graphical user interface toolkit for X
|
||
|
# URL: http://www.fltk.org/
|
||
|
# Packager: pierre at nutyx dot org, tnut at nutyx dot org
|
||
|
# Depends on: libjpeg-turbo libpng xorg-libxft xorg-libxi xorg-libxinerama xorg-mesa doxygen
|
||
|
name=fltk1
|
||
|
version=1.3.3
|
||
|
release=2
|
||
|
|
||
|
source=(http://fltk.org/pub/fltk/$version/fltk-$version-source.tar.gz)
|
||
|
build() {
|
||
|
cd fltk-*
|
||
|
|
||
|
sed -i -e '/cat./d' documentation/Makefile
|
||
|
|
||
|
./configure --prefix=/usr \
|
||
|
--mandir=/usr/share/man \
|
||
|
--infodir=/usr/share/info \
|
||
|
--enable-threads \
|
||
|
--enable-shared \
|
||
|
--enable-xft
|
||
|
make
|
||
|
make -C documentation html
|
||
|
|
||
|
make DESTDIR=$PKG docdir=/usr/share/doc/fltk-$version install
|
||
|
|
||
|
make -C test DESTDIR=$PKG docdir=/usr/share/doc/fltk-$version install-linux
|
||
|
make -C documentation DESTDIR=$PKG docdir=/usr/share/doc/fltk-$version install-linux
|
||
|
}
|