Added libgsf-1.14.11 template.

--HG--
extra : convert_revision : 33b2caeccb04bfdd62ea3d1dd4688acf65d2d0a1
This commit is contained in:
Juan RP 2009-04-21 23:29:15 +02:00
parent 475e62cc49
commit 1809032c2f
4 changed files with 52 additions and 0 deletions

1
templates/libgsf-devel Symbolic link
View File

@ -0,0 +1 @@
libgsf

2
templates/libgsf/depends Normal file
View File

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

View File

@ -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
}

30
templates/libgsf/template Normal file
View File

@ -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 <xtraeme@gmail.com>"
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*
}