void-packages/srcpkgs/fltk/template

36 lines
1008 B
Plaintext
Raw Normal View History

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