void-packages/srcpkgs/fltk/template

33 lines
941 B
Text
Raw Normal View History

2012-05-19 12:21:26 +00:00
# Template file for 'fltk'
pkgname=fltk
2012-12-11 06:15:59 +00:00
version=1.3.2
2014-06-05 09:18:38 +00:00
revision=5
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"
2012-12-11 06:15:59 +00:00
checksum=176044df94f31bd53a5806cf5054ca78b180bf9ae27ce47649608833695ee4a4
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
}
fltk-devel_package() {
depends="fltk-${version}_${revision}"
2014-06-05 09:18:38 +00: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 09:18:38 +00:00
vmove usr/lib/*.so
}
}