void-packages/srcpkgs/agar/template
Juan RP 24a987ef58 Bump revision for pkgs depending on jpeg (abi_depends bump).
--HG--
extra : convert_revision : b1b4ca5702dfb2318a7ec9270d51582dbfd85fa3
2010-01-17 15:09:04 +01:00

43 lines
1.6 KiB
Text

# Template file for 'agar'
pkgname=agar
version=1.3.4
revision=1
distfiles="${SOURCEFORGE_SITE}/agar/agar-$version.tar.gz"
build_style=configure
configure_args="--prefix=/usr --without-db4 --enable-nls --with-gl
--with-gettext --enable-threads --with-sdl --with-jpeg --with-freetype"
short_desc="Modern open-source, cross-platform toolkit"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=fe04c4ad1e75763b084e1cf657ee4949e29c4f852dfde3d398a9f0ff4e9f8cf7
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"
Add_dependency run glibc
Add_dependency run freetype
Add_dependency run jpeg
Add_dependency run MesaLib
Add_dependency run SDL
Add_dependency build gettext
Add_dependency build freetype-devel
Add_dependency build jpeg-devel
Add_dependency build MesaLib-devel
Add_dependency build SDL-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
install -d ${DESTDIR}/usr/${d} || return 1
done
}