void-packages/srcpkgs/gjs/template
2014-03-27 08:34:15 +01:00

24 lines
830 B
Text

# Template file for 'gjs'
pkgname=gjs
version=1.40.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool gobject-introspection>=1.40"
makedepends="libffi-devel libgirepository-devel>=1.40 dbus-glib-devel
cairo-devel readline-devel>=6.3 mozjs24-devel"
short_desc="Mozilla-based javascript bindings for the GNOME platform"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MPL-1.1, LGPL-2.1, GPL-2"
homepage="http://live.gnome.org/Gjs"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=545fd7da8ee90ccd25d15c3eb8f1e59a1e04366237af6468613816fac840c8f9
gjs-devel_package() {
depends="libgirepository-devel mozjs17-devel gjs>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}