summaryrefslogtreecommitdiffstats
path: root/fltk/Pkgfile
blob: ad4b370c20f2fdc79ef2a2940f80d48cf1830062 (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
# Description: Boîte à outils multiplatforme C++
# URL: http://www.fltk.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: xorg-libxft xorg-libxi xorg-libxinerama mesa3d
# Run on: xorg-libxft,xorg-libxi,xorg-libxinerama,mesa3d

name=fltk
version=r9296
release=1
source=(http://ftp.easysw.com/pub/fltk/snapshots/fltk-2.0.x-alpha-$version.tar.bz2)

build() {
	cd $name-*
	./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 DESTDIR=$PKG install
	rm -rf $PKG/usr/share/doc
}