void-packages/srcpkgs/SFML/template

26 lines
882 B
Bash
Raw Normal View History

2015-04-27 21:49:16 +00:00
# Template file for 'SFML'
pkgname=SFML
2015-07-05 09:58:46 +00:00
version=2.3.1
2015-04-27 21:49:16 +00:00
revision=1
build_style=cmake
hostmakedepends="cmake doxygen"
2015-05-12 21:51:18 +00:00
makedepends="libsndfile-devel libXrandr-devel libjpeg-turbo-devel libopenal-devel glew-devel freetype-devel MesaLib-devel glu-devel xcb-util-image-devel"
2015-04-27 21:49:16 +00:00
short_desc="Simple and Fast Multimedia Library"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="zlib"
homepage="http://www.sfml-dev.org/"
distfiles="https://github.com/LaurentGomila/${pkgname}/archive/${version}.tar.gz"
2015-07-05 09:58:46 +00:00
checksum=59d7fd6b6c1194393ccac4cb7da3c41adbad973ab2116421ad6fcfe823221d6f
2015-04-27 21:49:16 +00:00
configure_args="-DSFML_BUILD_EXAMPLES=1 -DSFML_BUILD_DOC=1 -DSFML_INSTALL_PKGCONFIG_FILES=1"
SFML-devel_package() {
depends="SFML>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/SFML
vmove "usr/lib/*.so"
}
}