summaryrefslogtreecommitdiff
path: root/repo/fltk
diff options
context:
space:
mode:
Diffstat (limited to 'repo/fltk')
-rw-r--r--repo/fltk/fltk.xibuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/fltk/fltk.xibuild b/repo/fltk/fltk.xibuild
new file mode 100644
index 0000000..a82da84
--- /dev/null
+++ b/repo/fltk/fltk.xibuild
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+NAME="fltk"
+DESC="A cross-platform C++ GUI toolkit"
+
+MAKEDEPS="libx11 libxext libxft mesa libxinerama libpng libjpeg-turbo"
+
+PKG_VER=1.3.8
+SOURCE="http://fltk.org/pub/fltk/$PKG_VER/fltk-$PKG_VER-source.tar.gz"
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --enable-shared \
+ --enable-threads \
+ --with-optim="$CXXFLAGS"
+ make V=1
+
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+ # remove static libs
+ rm "$PKG_DEST"/usr/lib/*.a
+}