summaryrefslogtreecommitdiff
path: root/repo/fltk
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-04 15:08:04 +0100
committerdavidovski <david@davidovski.xyz>2022-06-04 15:08:04 +0100
commit873665024ebfaa761ee49b508a79db7178aeb778 (patch)
tree6cd3b4ce3a9f4b0586ffa48e73a6ba4c8da2db43 /repo/fltk
parent4445f6e15185f58dc599390ab74df3ca19b437b7 (diff)
added gnupg
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
+}