diff --git a/templates/gobject-introspection-devel b/templates/gobject-introspection-devel new file mode 120000 index 0000000000..acab3e635e --- /dev/null +++ b/templates/gobject-introspection-devel @@ -0,0 +1 @@ +gobject-introspection \ No newline at end of file diff --git a/templates/gobject-introspection/depends b/templates/gobject-introspection/depends new file mode 100644 index 0000000000..ddc0dfeefa --- /dev/null +++ b/templates/gobject-introspection/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.6.5" +api_depends="${abi_depends}" diff --git a/templates/gobject-introspection/devel.template b/templates/gobject-introspection/devel.template new file mode 100644 index 0000000000..ded0d70334 --- /dev/null +++ b/templates/gobject-introspection/devel.template @@ -0,0 +1,18 @@ +# Template file for 'gobject-introspection-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run gobject-introspection + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + 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 ${DESTDIR}/usr +} diff --git a/templates/gobject-introspection/template b/templates/gobject-introspection/template new file mode 100644 index 0000000000..5931825c86 --- /dev/null +++ b/templates/gobject-introspection/template @@ -0,0 +1,19 @@ +# Template file for 'gobject-introspection' +pkgname=gobject-introspection +version=0.6.5 +distfiles="${GNOME_SITE}/$pkgname/0.6/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="Introspection system for GObject-based libraries" +maintainer="Juan RP " +checksum=fe1702200d45958cdfe3707952d64c3a541628b1203a9b2644db0ee2c6d5df79 +long_desc=" + The goal of the project is to describe the APIs and collect them in + a uniform, machine readable format." + +subpackages="devel" +Add_dependency build pkg-config +Add_dependency build flex +Add_dependency full glibc +Add_dependency full libffi +Add_dependency full glib +Add_dependency full python