libgsf: add -python subpkg.

--HG--
extra : convert_revision : c8bf36c331663d461b40bca6570408831af5bb05
This commit is contained in:
Juan RP 2010-04-23 15:15:58 +02:00
parent 0ec0f9a0fb
commit d2ef519904
4 changed files with 23 additions and 4 deletions

1
srcpkgs/libgsf-python Symbolic link
View File

@ -0,0 +1 @@
libgsf

View File

@ -5,7 +5,7 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
revision=2
Add_dependency run pkg-config
Add_dependency run glib-devel
@ -21,7 +21,6 @@ do_install()
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
}

View File

@ -0,0 +1,18 @@
# Template file for 'libgsf-python'.
#
short_desc="${sourcepkg} python bindings."
long_desc="${long_desc}
This package contains the Python bindings."
Add_dependency run glibc
Add_dependency run glib
Add_dependency run libxml2
Add_dependency run python
Add_dependency run libgsf
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/python* ${DESTDIR}/usr/lib
}

View File

@ -1,7 +1,7 @@
# Template build file for 'libgsf'.
pkgname=libgsf
version=1.14.11
revision=1
revision=2
distfiles="${GNOME_SITE}/libgsf/1.14/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--localstatedir=/var --disable-schemas-install
@ -14,7 +14,8 @@ long_desc="
different structured file formats. It has support for Microsoft OLE2
streams and Zip import. The aim of this library is to replace libole2."
subpackages="$pkgname-devel"
# XXX: investigate gnome stuff.
subpackages="$pkgname-python $pkgname-devel"
Add_dependency run glib
Add_dependency run libxml2
Add_dependency run glibc