2010-01-08 21:42:33 +00:00
|
|
|
# Template file for 'agar'
|
|
|
|
pkgname=agar
|
2010-05-06 05:20:21 +00:00
|
|
|
version=1.4.0
|
2013-04-12 06:55:23 +00:00
|
|
|
revision=4
|
2010-01-08 21:42:33 +00:00
|
|
|
build_style=configure
|
2010-05-06 05:20:21 +00:00
|
|
|
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"
|
2013-04-12 06:55:23 +00:00
|
|
|
hostmakedepends="perl groff"
|
|
|
|
makedepends="freetype-devel libjpeg-turbo-devel MesaLib-devel SDL-devel"
|
2010-01-08 21:42:33 +00:00
|
|
|
short_desc="Modern open-source, cross-platform toolkit"
|
2013-03-31 07:29:01 +00:00
|
|
|
homepage="http://libagar.org/"
|
|
|
|
license="BSD"
|
2010-01-08 21:42:33 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-12 06:55:23 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/agar/agar-$version.tar.gz"
|
2010-05-06 05:20:21 +00:00
|
|
|
checksum=6af24c3ffecdddc04f28f707065f6fa66c5a8f83062faf62563db09eec1842c4
|
2010-01-08 21:42:33 +00:00
|
|
|
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
|
|
|
|
|
2013-04-12 06:55:23 +00:00
|
|
|
pre_install() {
|
2010-01-08 21:42:33 +00:00
|
|
|
# Pre-create the dirs, otherwise install will fail!
|
|
|
|
for d in bin lib share/man/man3 share/man/man5 share/man/man8; do
|
2011-07-02 09:01:20 +00:00
|
|
|
vmkdir usr/${d}
|
2010-01-08 21:42:33 +00:00
|
|
|
done
|
|
|
|
}
|
2013-04-12 06:55:23 +00:00
|
|
|
|
|
|
|
agar-devel_package() {
|
|
|
|
depends="agar>=${version}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
vmove usr/share/man
|
|
|
|
}
|
|
|
|
}
|