void-packages/srcpkgs/SFML/template

28 lines
875 B
Bash
Raw Normal View History

2015-04-27 23:49:16 +02:00
# Template file for 'SFML'
pkgname=SFML
2017-02-12 14:57:38 +01:00
version=2.4.2
2016-12-23 11:45:01 +01:00
revision=1
2015-04-27 23:49:16 +02:00
build_style=cmake
hostmakedepends="doxygen"
2016-12-06 22:07:19 +01: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 23:49:16 +02:00
short_desc="Simple and Fast Multimedia Library"
2017-04-06 18:52:20 +02:00
maintainer="Andrea Brancaleoni <abc@pompel.me>"
2015-04-27 23:49:16 +02:00
license="zlib"
homepage="http://www.sfml-dev.org/"
distfiles="https://github.com/LaurentGomila/${pkgname}/archive/${version}.tar.gz"
2017-02-12 14:57:38 +01:00
checksum=cf268fb487e4048c85e5b2f53d62596854762c98cba1c1b61ccd91f78253ef4b
2015-04-27 23:49:16 +02: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"
}
}