diff --git a/templates/libcroco-devel b/templates/libcroco-devel new file mode 120000 index 0000000000..bd72ddf750 --- /dev/null +++ b/templates/libcroco-devel @@ -0,0 +1 @@ +libcroco \ No newline at end of file diff --git a/templates/libcroco/depends b/templates/libcroco/depends new file mode 100644 index 0000000000..f0f053c2a3 --- /dev/null +++ b/templates/libcroco/depends @@ -0,0 +1,2 @@ +abi_depends=0.6.2 +api_depends=${abi_depends} diff --git a/templates/libcroco/devel.template b/templates/libcroco/devel.template new file mode 100644 index 0000000000..a9c73acc52 --- /dev/null +++ b/templates/libcroco/devel.template @@ -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 +} diff --git a/templates/libcroco/template b/templates/libcroco/template new file mode 100644 index 0000000000..7c7b7c2e98 --- /dev/null +++ b/templates/libcroco/template @@ -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 " +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