diff --git a/common/shlibs b/common/shlibs index 17719fb47a..e75afa0ed2 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1440,3 +1440,6 @@ libethumb_client.so.1 efl-1.8.1_1 libethumb.so.1 efl-1.8.1_1 libevas.so.1 efl-1.8.1_1 libelementary.so.1 elementary-1.8.0_1 +libcjs.so.0 cjs-2.0.0_1 +libcjs-dbus.so.0 cjs-2.0.0_1 + diff --git a/srcpkgs/cjs-devel b/srcpkgs/cjs-devel new file mode 120000 index 0000000000..8d0deb7e58 --- /dev/null +++ b/srcpkgs/cjs-devel @@ -0,0 +1 @@ +cjs \ No newline at end of file diff --git a/srcpkgs/cjs/cjs-devel b/srcpkgs/cjs/cjs-devel new file mode 120000 index 0000000000..8c8ae69501 --- /dev/null +++ b/srcpkgs/cjs/cjs-devel @@ -0,0 +1 @@ +cjs-devel \ No newline at end of file diff --git a/srcpkgs/cjs/template b/srcpkgs/cjs/template new file mode 100644 index 0000000000..389dae55b8 --- /dev/null +++ b/srcpkgs/cjs/template @@ -0,0 +1,37 @@ +# Template file for 'cjs' +pkgname=cjs +version=2.0.0 +revision=1 +short_desc="Javascript for Cinnamom" +build_style=gnu-configure +configure_args=" --disable-static --libexecdir=/usr/lib" +hostmakedepends="automake libtool" +makedepends="js-devel gnome-common pkg-config gobject-introspection + dbus-glib-devel readline-devel" +maintainer="Roelof Wobben " +license="GPL-3" +homepage="http://cinnamon.linuxmint.com/" +distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz" +checksum=2fea6c491e6ce8567201f14c0e926181154d798d4811dd65da477c014bfb2a9a + +pre_configure() { + ./autogen.sh +} + +cjs-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove "usr/lib/*.so*" + vmove usr/include + vmove usr/lib/cjs + vmove usr/lib/cjs-1.0 + vmove usr/lib/pkgconfig + } +} + +cjs_package() { + pkg_install() { + vmove all + } +}