void-packages/srcpkgs/libmygui/template
John 8cdd595d8d New Package: mygui-3.2.2
libmygui: remove arches

libmygui: remove empty depends

removed Demos so it compiles for ARM
2017-06-22 14:21:12 -07:00

32 lines
829 B
Bash

# Template file for 'mygui'
pkgname=libmygui
version=3.2.2
revision=1
wrksrc="mygui-MyGUI${version}"
build_style=cmake
configure_args="-DMYGUI_BUILD_DEMOS=OFF"
makedepends="libX11-devel ois-devel boost-devel freetype-devel libogre-devel"
short_desc="Fast, flexible and simple GUI"
maintainer="John <johnz@posteo.net>"
license="MIT"
homepage="http://mygui.info"
distfiles="https://github.com/MyGUI/mygui/archive/MyGUI${version}.tar.gz"
checksum=0a28d7ec8a47993cb68deb48b36331e28f12dd92580b709eaef21d599b67a78f
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DMYGUI_BUILD_TOOLS=OFF -DMYGUI_RENDERSYSTEM=1"
fi
libmygui-devel_package() {
short-desc += " - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}
post_install() {
vlicense COPYING.MIT
}