summaryrefslogtreecommitdiffstats
path: root/extra/fltk1/Pkgfile
blob: f3af7759b34b1e8a2131dfc64b8286c53c67beb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Description: Boîte à outils multiplatforme C++ fltk version 1
# URL: http://www.fltk.org/
# Maintainer: NuTyX
# Packager: thierryn1 at hispeed dot ch
# Depends on: libjpeg libpng xorg-libxft xorg-libxi xorg-libxinerama, mesa3d
# Run on:

name=fltk1
version=r6960
release=1
source=(http://ftp.easysw.com/pub/fltk/snapshots/fltk-1.3.x-$version.tar.bz2)
build() {
        cd fltk-*
#	patch -Np0 -i ../scandir_posix.patch
        ./configure --prefix=/usr \
                    --mandir=/usr/share/man \
                    --infodir=/usr/share/info \
                --enable-threads \
                --enable-shared \
                --enable-xft
        sed -i "s/glut\ test/glut/" Makefile
        make
	make -e prefix=$PKG/usr mandir=$PKG/usr/share/man install
        rm -rf $PKG/usr/share/doc
}