summaryrefslogtreecommitdiff
path: root/repo/fltk/fltk.xibuild
blob: a82da84a637c52d9f325fcbee937e0f5fd559267 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}