diff --git a/templates/libgsf-devel b/templates/libgsf-devel new file mode 120000 index 0000000000..e7350b8f15 --- /dev/null +++ b/templates/libgsf-devel @@ -0,0 +1 @@ +libgsf \ No newline at end of file diff --git a/templates/libgsf/depends b/templates/libgsf/depends new file mode 100644 index 0000000000..bc6f698a27 --- /dev/null +++ b/templates/libgsf/depends @@ -0,0 +1,2 @@ +abi_depends=1.24.0 +api_depends=${abi_depends} diff --git a/templates/libgsf/devel.template b/templates/libgsf/devel.template new file mode 100644 index 0000000000..f24611b374 --- /dev/null +++ b/templates/libgsf/devel.template @@ -0,0 +1,19 @@ +# Template file for 'libgsf-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libgsf + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mkdir -p ${DESTDIR}/usr/share + 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/share/gtk-doc ${DESTDIR}/usr/share +} diff --git a/templates/libgsf/template b/templates/libgsf/template new file mode 100644 index 0000000000..ea0c7adc8b --- /dev/null +++ b/templates/libgsf/template @@ -0,0 +1,30 @@ +# Template build file for 'libgsf'. +pkgname=libgsf +sourcepkg=$pkgname +version=1.14.11 +distfiles="${GNOME_SITE}/libgsf/1.14/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--localstatedir=/var --disable-schemas-install + --without-gnome-vfs --without-bonobo" +short_desc="Library for layout and rendering of text" +maintainer="Juan RP " +checksum=ceb5fc6538d5998d83adf3fdf04f1dd344a5d0803c87593fadcd02db7ceabfcf +long_desc=" + libgsf provides an efficient extensible I/O abstraction for dealing with + different structured file formats. It has support for Microsoft OLE2 + streams and Zip import. The aim of this library is to replace libole2." + +subpackages="devel" +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build python +Add_dependency full glibc +Add_dependency full zlib +Add_dependency full glib +Add_dependency full bzip2 +Add_dependency full libxml2 + +post_install() +{ + rm -f ${DESTDIR}/usr/share/man/man1/gsf-office* +}