nodejs: fix installation of documentation, license.

This commit is contained in:
davehome 2011-12-23 01:33:39 -07:00
parent 5a18f88cbe
commit 991774f403
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# Template file for 'nodejs-docs'.
#
revision=1
short_desc="${short_desc} (Documentation)"
long_desc="${long_desc}
@ -7,5 +8,7 @@ long_desc="${long_desc}
do_install()
{
vmove usr/share usr
vmove usr/share/man usr/share
vmkdir usr/share/doc/nodejs
vcopy "doc/api/api/*" usr/share/doc/nodejs
}

View File

@ -3,6 +3,7 @@ pkgname=nodejs
version=0.6.6
homepage="http://nodejs.org/"
distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz"
revision=1
short_desc="Evented I/O for V8 javascript"
maintainer="davehome <davehome@redthumb.info.tm>"
license="MIT"
@ -51,4 +52,5 @@ do_build()
do_install()
{
make ${makejobs} DESTDIR=$DESTDIR install
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}