summaryrefslogtreecommitdiffstats
path: root/extra/fltk1/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-16 23:47:51 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-16 23:47:51 +0100
commit62b01fe421c7eab65abd8bbcb03a879b71a3d973 (patch)
treefa3de9bb1c079b52ad73db5491fe43f3f8883f1e /extra/fltk1/Pkgfile
parent7c71a89d35bdbecc6a002eaba0cbf68ead746f43 (diff)
downloadnutyx-extra-62b01fe421c7eab65abd8bbcb03a879b71a3d973.tar.gz
nutyx-extra-62b01fe421c7eab65abd8bbcb03a879b71a3d973.tar.bz2
nutyx-extra-62b01fe421c7eab65abd8bbcb03a879b71a3d973.tar.xz
nutyx-extra-62b01fe421c7eab65abd8bbcb03a879b71a3d973.zip
Ajout de fltk1#r6960-1
Diffstat (limited to 'extra/fltk1/Pkgfile')
-rw-r--r--extra/fltk1/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/fltk1/Pkgfile b/extra/fltk1/Pkgfile
new file mode 100644
index 000000000..37e084c5c
--- /dev/null
+++ b/extra/fltk1/Pkgfile
@@ -0,0 +1,24 @@
+# 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
+
+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
+}