2016-02-24 01:27:23 +01:00
|
|
|
# Description: Graphical user interface toolkit for X
|
|
|
|
# URL: http://www.fltk.org/
|
2016-03-31 17:24:30 +02:00
|
|
|
# Packager: milisarge@gmail.com
|
2017-01-31 01:37:09 +01:00
|
|
|
# Depends on: libjpeg-turbo libpng xorg-libxft xorg-libxi xorg-libxinerama xorg-mesa doxygen
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
name=fltk1
|
|
|
|
version=1.3.3
|
2016-03-31 17:24:30 +02:00
|
|
|
release=1
|
2016-02-24 01:27:23 +01:00
|
|
|
source=(http://fltk.org/pub/fltk/$version/fltk-$version-source.tar.gz)
|
2017-01-31 01:37:09 +01:00
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
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
|
|
|
|
}
|