Package: node-defined
Version: 1.0.0
Revision: 2.1
###
BuildDepends: <<
	fink (>= 0.32)
<<
Depends: <<
	nodejs
<<
###
Source: mirror:debian:/pool/main/n/%n/%n_%v.orig.tar.gz
Source-Checksum: SHA256(d953e6e9fe9277cc6e68e5bb36a299d8f3505f8facd3468ab7edc7d6858d293a)
SourceDirectory: defined-%v
Source2: mirror:debian:pool/main/n/%n/%n_%v-2.debian.tar.xz
Source2-Checksum: SHA256(8c358d9aa5dd4394aee9fd70dd21a78f1ff0aaf500b9974e32d6ba934e93bf48)
Source2ExtractDir: defined-%v
###
DocFiles: readme.markdown LICENSE examples
###
PatchScript: <<
mv example examples
<<
CompileScript: <<
echo
<<
# No tests as it will cause a circdep
#InfoTest: <<
#	TestDepends: <<
#		node-tape
#	<<
#	TestScript: <<
#tape test/*.js || exit 2
#	<<
#<<
InstallScript: <<
install -d -m0755 %i/share/nodejs/defined
install -m0644 index.js %i/share/nodejs/defined/
install -m0644 package.json %i/share/nodejs/defined/
<<
###
Description: Return the first defined argument
DescDetail: <<
Most of the time when you chain together ||s, you actually just want the
first item that is not undefined, not the first non-falsy item.
.
This module is like the defined-or (//) operator in perl 5.10+.
.
Node.js is an event-based server-side JavaScript engine.
<<
###
License: BSD
Homepage: https://github.com/substack/defined
Maintainer: Justin F. Hallett <thesin@users.sourceforge.net>