glitz: new deps style, converted to subpkgs.

--HG--
extra : convert_revision : fcec777fd194ab263278ed5503e9ffa6e36ee924
This commit is contained in:
Juan RP 2009-04-17 00:08:41 +02:00
parent dabdd783df
commit 150a53d247
4 changed files with 32 additions and 6 deletions

1
templates/glitz-devel Symbolic link
View File

@ -0,0 +1 @@
glitz

2
templates/glitz/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=0.5.6
api_depends=${abi_depends}

View File

@ -0,0 +1,17 @@
# Template file for 'glitz-devel'.
#
short_desc="${sourcepkg} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run glitz
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
}

View File

@ -1,14 +1,13 @@
# Template build file for 'glitz'.
pkgname=glitz
sourcepkg=$pkgname
version=0.5.6
distfiles="
http://cairographics.org/snapshots/$pkgname-$version.tar.gz"
distfiles="http://cairographics.org/snapshots/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--with-x"
pkgconfig_override="glitz.pc glitz-glx.pc"
short_desc="OpenGL 2D graphics library and a backend for gl output in cairo"
configure_args="--with-x --enable-glx"
short_desc="OpenGL 2D graphics library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=547ef1be273856942e0fa36c097c4acb367336b2
checksum=132adf06e48531f4c01b6ba5843881e2b584a170c5222353d03cbef736d4a471
long_desc="
Glitz is a portable 2D graphics library that uses OpenGL to render hardware
accelerated graphics. It supports many of the latest OpenGL features, such as
@ -19,3 +18,10 @@ long_desc="
a general way for accelerating this imaging model. Glitz can be used as
a stand-alone layer above OpenGL but is also designed to act as a backend for
cairo, providing it with OpenGL accelerated output."
subpackages="devel"
Add_dependency build pkg-config
Add_dependency full glibc
Add_dependency full libX11
Add_dependency full libXt
Add_dependency full MesaLib