summaryrefslogtreecommitdiffstats
path: root/fltk1/Pkgfile
blob: 8f047b8e1e6d1736ae1320411b91abf9952737d4 (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
27
# 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: libjpeg,libpng,xorg-libxft,xorg-libxi,xorg-libxinerama,mesa3d

name=fltk1
version=r9442
release=1
source=(http://ftp.easysw.com/pub/fltk/snapshots/fltk-1.3.x-$version.tar.bz2)

build() {
	cd fltk-*
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-threads \
		--enable-shared \
		--enable-xft
	make
	make DESTDIR=$PKG install
	cd fluid
	make DESTDIR=$PKG install install-linux
        rm -rf $PKG/usr/share/doc
}