void-packages/srcpkgs/cjs/template

31 lines
782 B
Plaintext
Raw Normal View History

2013-12-14 19:40:55 +01:00
# Template file for 'cjs'
pkgname=cjs
version=2.0.0
revision=6
2013-12-15 18:04:37 +01:00
short_desc="Javascript for Cinnamon"
2013-12-14 19:40:55 +01:00
build_style=gnu-configure
2013-12-15 10:25:54 +01:00
configure_args=" --disable-static"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection"
makedepends="js-devel dbus-glib-devel readline-devel>=6.3"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-12-14 19:40:55 +01:00
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
do_fetch() {
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}
}
2013-12-14 19:40:55 +01:00
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
2013-12-14 19:40:55 +01:00
}
cjs-devel_package() {
depends="js-devel libglib-devel dbus-devel ${sourcepkg}>=${version}_${revision}"
2013-12-14 19:40:55 +01:00
short_desc+=" - development files"
pkg_install() {
2013-12-15 10:40:04 +01:00
vmove "usr/lib/*.so"
2013-12-14 19:40:55 +01:00
vmove usr/include
vmove usr/lib/pkgconfig
}
}