2011-03-02 09:34:16 +01:00
|
|
|
# Template file for 'gjs'
|
|
|
|
pkgname=gjs
|
2013-09-26 13:57:17 +02:00
|
|
|
version=1.38.1
|
2012-06-03 09:08:53 +02:00
|
|
|
revision=1
|
2012-09-25 15:20:36 +02:00
|
|
|
build_style=gnu-configure
|
2013-03-28 10:28:02 +01:00
|
|
|
hostmakedepends="pkg-config intltool gobject-introspection"
|
|
|
|
makedepends="libffi-devel libgirepository-devel dbus-glib-devel
|
2013-09-26 13:57:17 +02:00
|
|
|
cairo-devel readline-devel mozjs17-devel"
|
2011-03-02 09:34:16 +01:00
|
|
|
short_desc="Mozilla-based javascript bindings for the GNOME platform"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-01-14 08:59:56 +01:00
|
|
|
license="MPL-1.1, LGPL-2.1, GPL-2"
|
2012-09-25 15:20:36 +02:00
|
|
|
homepage="http://live.gnome.org/Gjs"
|
2013-09-26 13:57:17 +02:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
|
|
checksum=6b2065a0e7bd1db562a70c5fd52ea2499097f1cf02c9c279d1b82b660bfb8176
|
2011-03-02 09:34:16 +01:00
|
|
|
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."
|
2013-04-12 13:13:49 +02:00
|
|
|
|
|
|
|
gjs-devel_package() {
|
2013-09-26 13:57:17 +02:00
|
|
|
depends="libgirepository-devel mozjs17-devel gjs>=${version}"
|
2013-04-22 19:58:42 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:13:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-26 13:57:17 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 13:13:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gjs_package() {
|
|
|
|
pkg_install() {
|
2013-04-22 19:58:42 +02:00
|
|
|
vmove all
|
2013-04-12 13:13:49 +02:00
|
|
|
}
|
|
|
|
}
|