void-packages/srcpkgs/cjs/template
2013-12-15 18:04:37 +01:00

36 lines
830 B
Text

# Template file for 'cjs'
pkgname=cjs
version=2.0.0
revision=3
short_desc="Javascript for Cinnamon"
build_style=gnu-configure
configure_args=" --disable-static"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection"
makedepends="js-devel dbus-glib-devel readline-devel"
maintainer="Roelof Wobben <rwobben@hotmail.com>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
do_fetch() {
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
}
pre_configure() {
./autogen.sh
}
cjs-devel_package() {
depends="js-devel libglib-devel dbus-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/pkgconfig
}
}
cjs_package() {
pkg_install() {
vmove all
}
}