contrib/fltk/Pkgfile

27 lines
559 B
Plaintext
Raw Normal View History

2006-11-30 11:10:34 +01:00
# Description: Cross-platform C++ GUI toolkit for Unix, Windows and Mac OS X.
# URL: http://www.fltk.org/
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
2017-11-01 13:35:12 +01:00
# Depends on: alsa-lib libjpeg-turbo mesa3d xorg-libxft xorg-libxinerama
2006-11-30 11:10:34 +01:00
name=fltk
2018-01-31 12:02:33 +01:00
version=1.3.4-2
release=1
source=(http://fltk.org/pub/$name/${version%-*}/$name-$version-source.tar.bz2)
2006-11-30 11:10:34 +01:00
build() {
2018-01-31 12:02:33 +01:00
cd $name-$version
2006-11-30 11:10:34 +01:00
./configure \
--prefix=/usr \
2007-06-24 06:23:45 +02:00
--enable-threads \
2006-11-30 11:10:34 +01:00
--enable-shared \
--enable-xft
2007-04-21 11:03:15 +02:00
make
make DESTDIR=$PKG install
2008-03-29 03:42:29 +01:00
chmod a-x $PKG/usr/lib/*.a
rm -r $PKG/usr/share/doc
2006-11-30 11:10:34 +01:00
}