From b81f2eb673538eda71091f4d88f927ef1f8a54b5 Mon Sep 17 00:00:00 2001 From: milisbir Date: Sat, 16 Dec 2017 20:18:57 +0200 Subject: [PATCH] cjs.paketlendi --- talimatname/genel/c/cjs/talimat | 17 +++++++++++++++++ talimatname/genel/j/js38/talimat | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 talimatname/genel/c/cjs/talimat diff --git a/talimatname/genel/c/cjs/talimat b/talimatname/genel/c/cjs/talimat new file mode 100644 index 000000000..0a866b8db --- /dev/null +++ b/talimatname/genel/c/cjs/talimat @@ -0,0 +1,17 @@ +# Tanım: Cinnamon için Javascript Bağları +# URL: https://github.com/linuxmint/cjs +# Paketçi: Cihan Alkan +# Gerekler: gtk3 gobject-introspection js38 dbus-glib python gtk3 autoconf-archive gnome-common + +isim=cjs +surum=3.6.1 +devir=1 +kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz) + +derle() { + cd $isim-$surum + ./autogen.sh --prefix=/usr --disable-static --libexecdir=/usr/lib + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make + make DESTDIR=$PKG install +} diff --git a/talimatname/genel/j/js38/talimat b/talimatname/genel/j/js38/talimat index 8c376f22f..7312e9fcd 100644 --- a/talimatname/genel/j/js38/talimat +++ b/talimatname/genel/j/js38/talimat @@ -32,6 +32,6 @@ derle() { SHELL=/bin/sh make || SHELL=/bin/sh make SHELL=/bin/sh make DESTDIR="$PKG" install rm -f "$PKG"/usr/lib/*.ajs - rm -f "$PKG"/usr/bin/js38 find "$PKG"/usr/{lib/pkgconfig,include} -type f -exec chmod -x {} + + mv $PKG/usr/lib/pkgconfig/js.pc $PKG/usr/lib/pkgconfig/mozjs-38.pc }