void-packages/srcpkgs/agar/template
ojab 35cdf38f83 agar: add homepage, license
./configure is utterly broken
2013-04-03 14:25:25 +04:00

40 lines
1.5 KiB
Text

# Template file for 'agar'
pkgname=agar
version=1.4.0
revision=3
distfiles="${SOURCEFORGE_SITE}/agar/agar-$version.tar.gz"
build_style=configure
configure_args="--prefix=/usr --without-db4 --enable-nls
--with-gettext --enable-threads --with-sdl --with-jpeg --with-freetype
--with-manpages --with-manlinks --with-glx --with-gl"
make_build_target="depend all"
depends="glibc freetype jpeg libGL SDL"
makedepends="perl groff freetype-devel libjpeg-turbo-devel MesaLib-devel SDL-devel"
short_desc="Modern open-source, cross-platform toolkit"
homepage="http://libagar.org/"
license="BSD"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=6af24c3ffecdddc04f28f707065f6fa66c5a8f83062faf62563db09eec1842c4
long_desc="
Agar is a modern open-source, cross-platform toolkit for graphical
applications implemented in C, C++, Perl and Ada (with bindings to other
languages in development). Designed for ease of integration, it follows
the philosophy of building the GUI around the application and not the other
way around. Unlike most other GUI toolkits, Agar takes maximum advantage of
hardware graphics acceleration when it is available via OpenGL, but it also
supports traditional framebuffer interfaces such as SDL direct video. The
Agar API is entirely thread-safe when Agar is compiled with optional threads
support."
disable_parallel_build=yes
subpackages="$pkgname-devel"
pre_install()
{
# Pre-create the dirs, otherwise install will fail!
for d in bin lib share/man/man3 share/man/man5 share/man/man8; do
vmkdir usr/${d}
done
}