30 lines
771 B
Plaintext
30 lines
771 B
Plaintext
# Description: Graphical user interface toolkit for X
|
|
# URL: http://www.fltk.org/
|
|
# Packager: milisarge@gmail.com
|
|
# Depends on: libjpeg-turbo libpng xorg-libxft xorg-libxi xorg-libxinerama xorg-mesa doxygen
|
|
|
|
name=fltk1
|
|
version=1.3.3
|
|
release=1
|
|
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
|
|
}
|