2013-12-14 19:40:55 +01:00
|
|
|
# Template file for 'cjs'
|
|
|
|
pkgname=cjs
|
|
|
|
version=2.0.0
|
|
|
|
revision=1
|
|
|
|
short_desc="Javascript for Cinnamom"
|
|
|
|
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"
|
2013-12-14 19:40:55 +01:00
|
|
|
maintainer="Roelof Wobben <rwobben@hotmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://cinnamon.linuxmint.com/"
|
|
|
|
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
|
|
|
|
checksum=2fea6c491e6ce8567201f14c0e926181154d798d4811dd65da477c014bfb2a9a
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
./autogen.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
cjs-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
cjs_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove all
|
|
|
|
}
|
|
|
|
}
|