smlinux/gtk/fltk/fltk.SMBuild

39 lines
920 B
Text
Executable file

app=fltk
version=1.3.4
build=1sml
homepage="https://www.fltk.org/"
download="https://www.fltk.org/pub/fltk/1.3.4/fltk-1.3.4-2-source.tar.bz2"
desc="Graphical user interface toolkit for X"
requires="gcc-libs desktop-file-utils libjpeg-turbo libxcursor libxext fontconfig libxinerama glu shared-mime-info cairo"
build() {
mkandenterbuilddir
rm -rf "$app-$version-2"
tar xf $srcdir/$app-$version-2-source.tar.?z*
cd "$app-$version-2"
fixbuilddirpermissions
./configure \
--prefix="" \
--enable-shared \
--enable-gl \
--enable-largefile \
--enable-threads \
--enable-xinerama \
--enable-xft \
--enable-xdbe
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
removestaticlibs
mkfinalpkg
}
sha512sums="
dabff7a1adea31a16b858f5d4360719099e70470b3acebd3e4b26f189bffae0d2f4ec910dab262deec3cef4dc652be435ebcb7ee9a9dca518780d9140a9f4ce6 fltk-1.3.4-2-source.tar.lz
"