Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,2 @@ | |||
EBUILD npm-1.0.26.ebuild 630 RMD160 3f7c725614af367e7e935f5ccbe44cf45312c0ce SHA1 2ad4d87fd83739701f13658745485735ae94396e SHA256 d40335c9a9975583c97d43063ee73feefab7a14196c5ee8b7967408cab3eb0ab | |||
MISC metadata.xml 454 RMD160 40f9c7847d0ae51a88c59ccd3872dd7fee5e4209 SHA1 c4174368a685a465b8302e793b3860b3f0003b5b SHA256 8f3b8839636a4f0493c366625c4a4d3b363289d5bffee90c06b89102340757c0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,14 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | |||
<pkgmetadata> | |||
<herd>no-herd</herd> | |||
<maintainer> | |||
<email>ramereth@gentoo.org</email> | |||
<name>Lance Albertson</name> | |||
</maintainer> | |||
<longdescription lang="en"> | |||
npm is a package manager for node. You can use it to install and publish | |||
your node programs. It manages dependencies and does other cool stuff. | |||
</longdescription> | |||
</pkgmetadata> | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,32 @@ | |||
# Copyright 1999-2011 Gentoo Foundation | |||
# Distributed under the terms of the GNU General Public License v2 | |||
# $Header: $ | |||
|
|||
EAPI=3 | |||
|
|||
inherit git-2 | |||
|
|||
DESCRIPTION="A package manager for nodejs" | |||
HOMEPAGE="http://npmjs.org/" | |||
SRC_URI="" | |||
EGIT_REPO_URI="git://github.com/isaacs/npm.git" | |||
EGIT_COMMIT="v${PV}" | |||
|
|||
LICENSE="as-is" | |||
SLOT="0" | |||
KEYWORDS="~amd64 ~x86" | |||
IUSE="" | |||
|
|||
DEPEND="net-libs/nodejs | |||
dev-vcs/git" | |||
RDEPEND="${DEPEND}" | |||
|
|||
src_configure() { | |||
# nasty hack around the lack of DESTDIR not working. npm uses relative links | |||
# anyways so this should work. | |||
econf --prefix="${D}/usr" | |||
} | |||
|
|||
src_install() { | |||
node cli.js install -g -f --unsafe-perm | |||
} |