void-packages/srcpkgs/agar/template
Juan RP eb3cddef3d Added agar-1.3.4 build template.
--HG--
extra : convert_revision : b710ccbdb92773327093cf66c9c338c09f100a15
2010-01-08 22:42:33 +01:00

42 lines
1.6 KiB
Text

# Template file for 'agar'
pkgname=agar
version=1.3.4
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
}