summaryrefslogtreecommitdiffstats
path: root/extra/fltk/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-16 23:16:46 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-16 23:16:46 +0100
commit83d1b5bf752f26bcb12cf722b54d4d170a32ba4d (patch)
treec039360edd3af87125d43224d4ae0c9a80e3795a /extra/fltk/Pkgfile
parent0a8468ce9113dae86146a129d547030d0f875aa8 (diff)
downloadnutyx-pakxe-83d1b5bf752f26bcb12cf722b54d4d170a32ba4d.tar.gz
nutyx-pakxe-83d1b5bf752f26bcb12cf722b54d4d170a32ba4d.tar.bz2
nutyx-pakxe-83d1b5bf752f26bcb12cf722b54d4d170a32ba4d.tar.xz
nutyx-pakxe-83d1b5bf752f26bcb12cf722b54d4d170a32ba4d.zip
Ajout de fltk#r6960-1
Diffstat (limited to 'extra/fltk/Pkgfile')
-rw-r--r--extra/fltk/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/fltk/Pkgfile b/extra/fltk/Pkgfile
new file mode 100644
index 000000000..180e5adf2
--- /dev/null
+++ b/extra/fltk/Pkgfile
@@ -0,0 +1,25 @@
+# Description: Boîte à outils multiplatforme C++
+# URL: http://www.fltk.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libjpeg libpng xorg-libxft xorg-libxi xorg-libxinerama
+
+name=fltk
+version=r6960
+release=1
+source=(http://ftp.easysw.com/pub/fltk/snapshots/fltk-2.0.x-$version.tar.bz2\
+ scandir_posix.patch)
+build() {
+ cd $name-*
+# 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
+}