From 1b010e57a2662c654369ee4aa07ee272098118fb Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 22 May 2012 09:24:33 +0200 Subject: [PATCH] New package: libspectre-0.2.6. --- common/shlibs | 1 + srcpkgs/libspectre-devel | 1 + srcpkgs/libspectre/depends | 2 ++ srcpkgs/libspectre/libspectre-devel.template | 14 ++++++++++++++ srcpkgs/libspectre/libspectre.rshlibs | 2 ++ srcpkgs/libspectre/template | 18 ++++++++++++++++++ 6 files changed, 38 insertions(+) create mode 120000 srcpkgs/libspectre-devel create mode 100644 srcpkgs/libspectre/depends create mode 100644 srcpkgs/libspectre/libspectre-devel.template create mode 100644 srcpkgs/libspectre/libspectre.rshlibs create mode 100644 srcpkgs/libspectre/template diff --git a/common/shlibs b/common/shlibs index a48014693bc..4b7e6204630 100644 --- a/common/shlibs +++ b/common/shlibs @@ -994,3 +994,4 @@ libfltk.so.1.3 fltk fltk-devel libfltk_forms.so.1.3 fltk fltk-devel libfltk_gl.so.1.3 fltk fltk-devel libfltk_images.so.1.3 fltk fltk-devel +libspectre.so.1 libspectre libspectre-devel diff --git a/srcpkgs/libspectre-devel b/srcpkgs/libspectre-devel new file mode 120000 index 00000000000..e4b7cbb29c3 --- /dev/null +++ b/srcpkgs/libspectre-devel @@ -0,0 +1 @@ +libspectre \ No newline at end of file diff --git a/srcpkgs/libspectre/depends b/srcpkgs/libspectre/depends new file mode 100644 index 00000000000..daa819845a3 --- /dev/null +++ b/srcpkgs/libspectre/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.8" +api_depends="${abi_depends}" diff --git a/srcpkgs/libspectre/libspectre-devel.template b/srcpkgs/libspectre/libspectre-devel.template new file mode 100644 index 00000000000..db56cdebc69 --- /dev/null +++ b/srcpkgs/libspectre/libspectre-devel.template @@ -0,0 +1,14 @@ +# Template file for 'libspectre-devel'. +# +short_desc="${short_desc} -- development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libspectre ">=$version" + +do_install() { + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib + vmove "usr/lib/*.a" usr/lib +} diff --git a/srcpkgs/libspectre/libspectre.rshlibs b/srcpkgs/libspectre/libspectre.rshlibs new file mode 100644 index 00000000000..c6f40975bb9 --- /dev/null +++ b/srcpkgs/libspectre/libspectre.rshlibs @@ -0,0 +1,2 @@ +libgs.so.9 +libc.so.6 diff --git a/srcpkgs/libspectre/template b/srcpkgs/libspectre/template new file mode 100644 index 00000000000..2bb7a36b8e1 --- /dev/null +++ b/srcpkgs/libspectre/template @@ -0,0 +1,18 @@ +# Template file for 'libspectre' +pkgname=libspectre +version=0.2.6 +homepage="http://libspectre.freedesktop.org/wiki/" +distfiles="http://libspectre.freedesktop.org/releases/${pkgname}-${version}.tar.gz" +build_style=gnu-configure +short_desc="Small library for rendering Postscript documents" +maintainer="Juan RP " +license="GPL-2" +checksum=2f637c62322c8040514284c00f63a5c310a28801e7dcfbe2ba2791be4fac0dd3 +long_desc=" + libspectre is a small library for rendering Postscript documents. It + provides a convenient easy to use API for handling and rendering + Postscript documents." + +subpackages="$pkgname-devel" + +Add_dependency build ghostscript-devel