# 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 mesa3d # Run on: name=fltk version=r7513 release=1 source=(http://ftp.easysw.com/pub/fltk/snapshots/fltk-2.0.x-$version.tar.bz2\ http://nutyx.meticul.eu/files/patchs/$name/libpng14.patch) build() { cd $name-* patch -Np1 -i ../libpng14.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 }