void-packages/srcpkgs/fltk/template

33 lines
941 B
Plaintext

# Template file for 'fltk'
pkgname=fltk
version=1.3.2
revision=5
build_style=gnu-configure
configure_args="--enable-threads --enable-xft --enable-shared"
makedepends="libjpeg-turbo-devel libpng-devel>=1.6 MesaLib-devel alsa-lib-devel
freetype-devel libXinerama-devel libXft-devel"
short_desc="Cross-platform C++ GUI toolkit"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://www.fltk.org/"
distfiles="http://fltk.org/pub/fltk/${version}/fltk-${version}-source.tar.gz"
checksum=176044df94f31bd53a5806cf5054ca78b180bf9ae27ce47649608833695ee4a4
post_install() {
rm -rf ${DESTDIR}/usr/share/man/cat[13]
rm -f ${DESTDIR}/usr/lib/*.a
}
fltk-devel_package() {
depends="fltk-${version}_${revision}"
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
vmove usr/lib/*.so
}
}