void-packages/srcpkgs/fltk/template

32 lines
923 B
Plaintext
Raw Normal View History

2012-05-19 14:21:26 +02:00
# Template file for 'fltk'
pkgname=fltk
2012-12-11 07:15:59 +01:00
version=1.3.2
2013-04-30 11:24:31 +02:00
revision=4
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/"
distfiles="http://ftp.easysw.com/pub/fltk/$version/fltk-$version-source.tar.gz"
2012-12-11 07:15:59 +01:00
checksum=176044df94f31bd53a5806cf5054ca78b180bf9ae27ce47649608833695ee4a4
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() {
depends="fltk-${version}_${revision}"
2013-04-30 11:24:31 +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
}
}