aboutsummaryrefslogtreecommitdiffstats
path: root/main/nodejs-lts/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-26 02:01:30 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-26 02:23:24 +0100
commitad10ccf3041bdfe0d2849cd15cd1e1a0a87e186b (patch)
treee0b785ff78b7d496f997a74a10da82ffaafd4e8f /main/nodejs-lts/APKBUILD
parent1fc05d8d4246c31c785f0f4b8476a6cdc0724267 (diff)
downloadaports-ad10ccf3041bdfe0d2849cd15cd1e1a0a87e186b.tar.bz2
aports-ad10ccf3041bdfe0d2849cd15cd1e1a0a87e186b.tar.xz
main/nodejs-lts: remove unused bundled dependencies
Diffstat (limited to 'main/nodejs-lts/APKBUILD')
-rw-r--r--main/nodejs-lts/APKBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/main/nodejs-lts/APKBUILD b/main/nodejs-lts/APKBUILD
index c9214cdf00..8c9d3ceec6 100644
--- a/main/nodejs-lts/APKBUILD
+++ b/main/nodejs-lts/APKBUILD
@@ -15,7 +15,8 @@ makedepends="python2 openssl-dev zlib-dev libuv-dev linux-headers paxmark
subpackages="$pkgname-dev $pkgname-doc"
replaces="nodejs"
source="https://nodejs.org/dist/v$pkgver/node-v$pkgver.tar.gz
- use-system-ca-certs.patch"
+ use-system-ca-certs.patch
+ dont-run-gyp-files-for-bundled-deps.patch"
builddir="$srcdir/node-v$pkgver"
prepare() {
@@ -23,6 +24,9 @@ prepare() {
# Remove bundled CA certificates.
rm -f src/node_root_certs.h
+
+ # Remove bundled dependencies that we're not using.
+ rm -rf deps/http_parser deps/openssl deps/uv deps/zlib
}
build() {
@@ -55,8 +59,11 @@ package() {
}
md5sums="0d3117846c6704b36108fcdbf30e03c1 node-v6.9.1.tar.gz
-14ce8e0fb44d5bf75974026900e0d8c2 use-system-ca-certs.patch"
+14ce8e0fb44d5bf75974026900e0d8c2 use-system-ca-certs.patch
+5d99a53ef07e15fe882d449ed995bd91 dont-run-gyp-files-for-bundled-deps.patch"
sha256sums="a98997ca3a4d10751f0ebe97839b2308a31ae884b4203cda0c99cf36bc7fe3bf node-v6.9.1.tar.gz
-fcd2becd2cb9a62537ae11f51f448fd1061aaae17835bb0f2d2aa71bdf9652c0 use-system-ca-certs.patch"
+fcd2becd2cb9a62537ae11f51f448fd1061aaae17835bb0f2d2aa71bdf9652c0 use-system-ca-certs.patch
+c20a62b9dd64591b91a0c1dae649ac04cf7aec402672b349f8daa04f2a08a77b dont-run-gyp-files-for-bundled-deps.patch"
sha512sums="71a6e081006c8b77f34b5cc26b76c56944b4de77d7ed5e6068c72dbaf49fc18ed2894231f6a5cd0308c40e95c2e1eb5ee2abd1470fd646bb8db3b230913c5014 node-v6.9.1.tar.gz
-c540878495761f4c38f3cccd61da75fa5619637ba9887b7946964a7cef790178e26678fe0aabe400e32c8f0f65e97a519ceee1534bbf18a1a14bc6e9fe067637 use-system-ca-certs.patch"
+c540878495761f4c38f3cccd61da75fa5619637ba9887b7946964a7cef790178e26678fe0aabe400e32c8f0f65e97a519ceee1534bbf18a1a14bc6e9fe067637 use-system-ca-certs.patch
+a8be538158b7c96341a407acba30450ddc5c3ad764e7efe728d1ceff64efc3067b177855b9ef91b54400be6a02600d83da4c21a07ae9d7dc0774f92b2006ea8b dont-run-gyp-files-for-bundled-deps.patch"