diff --git a/srcpkgs/libgsf-python b/srcpkgs/libgsf-python new file mode 120000 index 0000000000..e7350b8f15 --- /dev/null +++ b/srcpkgs/libgsf-python @@ -0,0 +1 @@ +libgsf \ No newline at end of file diff --git a/srcpkgs/libgsf/libgsf-devel.template b/srcpkgs/libgsf/libgsf-devel.template index 2edae57a67..0d99b55d3c 100644 --- a/srcpkgs/libgsf/libgsf-devel.template +++ b/srcpkgs/libgsf/libgsf-devel.template @@ -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 } diff --git a/srcpkgs/libgsf/libgsf-python.template b/srcpkgs/libgsf/libgsf-python.template new file mode 100644 index 0000000000..3d2b6d4a0b --- /dev/null +++ b/srcpkgs/libgsf/libgsf-python.template @@ -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 +} diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template index 0ec74542cd..5744fef449 100644 --- a/srcpkgs/libgsf/template +++ b/srcpkgs/libgsf/template @@ -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