2012-05-19 12:21:26 +00:00
|
|
|
# Template file for 'fltk'
|
|
|
|
pkgname=fltk
|
2014-11-16 07:20:42 +00:00
|
|
|
version=1.3.3
|
2014-11-16 07:50:11 +00:00
|
|
|
revision=2
|
2012-05-19 12:21:26 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-threads --enable-xft --enable-shared"
|
2013-04-30 09:24:31 +00:00
|
|
|
makedepends="libjpeg-turbo-devel libpng-devel>=1.6 MesaLib-devel alsa-lib-devel
|
2012-11-13 10:30:33 +00:00
|
|
|
freetype-devel libXinerama-devel libXft-devel"
|
2012-05-19 12:21:26 +00:00
|
|
|
short_desc="Cross-platform C++ GUI toolkit"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-06-06 08:13:36 +00:00
|
|
|
license="LGPL-2.1"
|
|
|
|
homepage="http://www.fltk.org/"
|
2014-06-05 09:18:38 +00:00
|
|
|
distfiles="http://fltk.org/pub/fltk/${version}/fltk-${version}-source.tar.gz"
|
2014-11-16 07:20:42 +00:00
|
|
|
checksum=f8398d98d7221d40e77bc7b19e761adaf2f1ef8bb0c30eceb7beb4f2273d0d97
|
2012-05-19 12:21:26 +00:00
|
|
|
|
2014-11-16 07:20:42 +00:00
|
|
|
pre_build() {
|
|
|
|
sed -i '/DIRS =/s,test,,' Makefile
|
|
|
|
}
|
2012-05-19 12:21:26 +00:00
|
|
|
post_install() {
|
|
|
|
rm -rf ${DESTDIR}/usr/share/man/cat[13]
|
2012-11-13 10:30:33 +00:00
|
|
|
rm -f ${DESTDIR}/usr/lib/*.a
|
2012-05-19 12:21:26 +00:00
|
|
|
}
|
2013-04-12 09:16:02 +00:00
|
|
|
|
|
|
|
fltk-devel_package() {
|
2014-11-16 07:50:11 +00:00
|
|
|
depends="${makedepends} fltk-${version}_${revision}"
|
2014-06-05 09:18:38 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 09:16:02 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/bin/fltk-config
|
|
|
|
vmove usr/share/man/man1/fltk-config.1
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
vmove usr/share/doc
|
2014-06-05 09:18:38 +00:00
|
|
|
vmove usr/lib/*.so
|
2013-04-12 09:16:02 +00:00
|
|
|
}
|
|
|
|
}
|