Added libcroco-0.6.2 template.

--HG--
extra : convert_revision : c60dcee6b0900394e329cdb783a0ea969c736373
This commit is contained in:
Juan RP 2009-04-21 23:41:55 +02:00
parent 870a6d7616
commit 90d0870512
4 changed files with 43 additions and 0 deletions

1
templates/libcroco-devel Symbolic link
View file

@ -0,0 +1 @@
libcroco

View file

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

View file

@ -0,0 +1,20 @@
# Template file for 'libcroco-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libcroco
do_install()
{
local lver="0.6"
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/bin
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
mv ${SRCPKGDESTDIR}/usr/bin/croco-${lver}-config ${DESTDIR}/usr/bin
}

View file

@ -0,0 +1,20 @@
# Template build file for 'libcroco'.
pkgname=libcroco
sourcepkg=$pkgname
version=0.6.2
distfiles="${GNOME_SITE}/$pkgname/0.6/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="Toolkit to parse and manipulate CSS (Cascading Style Sheets)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=be24853f64c09b63d39e563fb0222e29bae1a33c3d9f6cbffc0bc27669371749
long_desc="
The Libcroco project is a generic Cascading Style Sheet (CSS)
parsing and manipulation toolkit. It provides a Simple Api for CSS
and Cascading Style Sheet Object Model parser, a CSS2 selection
engine, and an XML/CSS layout/rendering engine."
subpackages="devel"
Add_dependency build pkg-config
Add_dependency full glibc
Add_dependency full glib
Add_dependency full libxml2