From 5654b7b01b55d738bc3b4198305ac27da44be60a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 2 Mar 2011 09:34:16 +0100 Subject: [PATCH] Added gjs-0.7.11 build template. --HG-- branch : gnome3 --- srcpkgs/gjs-devel | 1 + srcpkgs/gjs/depends | 2 ++ srcpkgs/gjs/gjs-devel.template | 13 ++++++++ srcpkgs/gjs/template | 40 ++++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 3 ++ 5 files changed, 59 insertions(+) create mode 120000 srcpkgs/gjs-devel create mode 100644 srcpkgs/gjs/depends create mode 100644 srcpkgs/gjs/gjs-devel.template create mode 100644 srcpkgs/gjs/template diff --git a/srcpkgs/gjs-devel b/srcpkgs/gjs-devel new file mode 120000 index 0000000000..e378d50e7f --- /dev/null +++ b/srcpkgs/gjs-devel @@ -0,0 +1 @@ +gjs \ No newline at end of file diff --git a/srcpkgs/gjs/depends b/srcpkgs/gjs/depends new file mode 100644 index 0000000000..d18f9b6426 --- /dev/null +++ b/srcpkgs/gjs/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.7.11" +api_depends="${abi_depends}" diff --git a/srcpkgs/gjs/gjs-devel.template b/srcpkgs/gjs/gjs-devel.template new file mode 100644 index 0000000000..ca556a6328 --- /dev/null +++ b/srcpkgs/gjs/gjs-devel.template @@ -0,0 +1,13 @@ +# Template file for 'gjs-devel'. +# +short_desc="${sourcepkg} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/gjs/template b/srcpkgs/gjs/template new file mode 100644 index 0000000000..586e6206e7 --- /dev/null +++ b/srcpkgs/gjs/template @@ -0,0 +1,40 @@ +# Template file for 'gjs' +pkgname=gjs +version=0.7.11 +distfiles="${GNOME_SITE}/$pkgname/0.7/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--localstatedir=/var" +short_desc="Mozilla-based javascript bindings for the GNOME platform" +maintainer="Juan RP " +checksum=4d06889ab5d57e6e9b9d44e9bc467849da55b3913656528ad4e6e2dcd7e5cae7 +long_desc=" + Makes it possible for applications to use all of GNOME's platform libraries + using the Javascript language. It's mainly based on the Mozilla javascript + engine and the GObject introsepection framework." + +subpackages="gjs-devel" + +Add_dependency run libgcc +Add_dependency run glibc +Add_dependency run libstdc++ +Add_dependency run glib +Add_dependency run libffi +Add_dependency run libgirepository +Add_dependency run dbus-libs +Add_dependency run dbus-glib +Add_dependency run cairo +Add_dependency run readline +Add_dependency run nspr +Add_dependency run xulrunner + +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build glib-devel +Add_dependency build libffi-devel +Add_dependency build libgirepository-devel +Add_dependency build dbus-devel +Add_dependency build dbus-glib-devel +Add_dependency build cairo-devel +Add_dependency build readline-devel +Add_dependency build nspr-devel +Add_dependency build xulrunner-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 4525bc8ce4..afb5d3e37d 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -781,3 +781,6 @@ libpeas-gtk-1.0.so libpeas libpeas-devel libtotem.so totem totem-devel libclutter-glx-1.0.so clutter clutter-devel libmutter-private.so mutter mutter-devel +libgjs.so gjs gjs-devel +libgjs-gi.so gjs gjs-devel +libgjs-dbus.so gjs gjs-devel