X-Original-To: alpine-aports@lists.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail-qa0-f42.google.com (mail-qa0-f42.google.com [209.85.216.42]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 038E3DC0137 for ; Wed, 4 Mar 2015 21:42:08 +0000 (UTC) Received: by mail-qa0-f42.google.com with SMTP id w8so36017970qac.1 for ; Wed, 04 Mar 2015 13:42:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=wSFk8WKyXm7fItMLUg0xkRqJcM47uNkAKGD/527pAV0=; b=U4hotGlCLolMxaKdibsDUFafVxGQLJ+Vu09O+6lh0ic1xEDBevuPgmkd/PcE6rpjl3 wlZLXtR9FrnrZ1W6BGJRFc0lygfmxOP8ZHSQHRf0NnG/maQf5j3LSEE/n5pBRR2rXG2h 1eHFd6oOB4e/rPCock026qEouAP+ENDqproIPPT3/iUXtrkbGzO6eQiVCvS6OXyqFBEf 54ZE4GPzH1i9wGd2m7fn4MrJ5Z0DloBgq58X9O9moPUKYXaJY1+Afz8olDSlN7JtyBc7 JzDyr3Y9dJFLFrGnI8HwfFZqcK4dNDIEMmIMGYw8sFGh81bJGmsfUyGNd6PKrrrDI2IA mgSg== X-Received: by 10.55.26.208 with SMTP id l77mr11652175qkh.62.1425505328027; Wed, 04 Mar 2015 13:42:08 -0800 (PST) Received: from 9d8e3a9e4f54.service.consul ([12.105.18.195]) by mx.google.com with ESMTPSA id z67sm2866309qge.7.2015.03.04.13.42.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Mar 2015 13:42:07 -0800 (PST) From: Bryce Kahle To: alpine-aports@lists.alpinelinux.org Cc: Bryce Kahle Subject: [alpine-aports] [PATCH] testing/iojs: new aport Date: Wed, 4 Mar 2015 21:42:02 +0000 Message-Id: <1425505322-27603-1-git-send-email-bkahle@gmail.com> X-Mailer: git-send-email 2.2.1 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: https://iojs.org/ JavaScript I/O --- testing/iojs/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 testing/iojs/APKBUILD diff --git a/testing/iojs/APKBUILD b/testing/iojs/APKBUILD new file mode 100644 index 0000000..872bedc --- /dev/null +++ b/testing/iojs/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Bryce Kahle +# Maintainer: +pkgname=iojs +pkgver=1.4.3 +pkgrel=0 +pkgdesc="JavaScript I/O" +url="https://iojs.org" +arch="all" +license="MIT" +makedepends="$depends_dev gcc make python openssl-dev zlib-dev paxctl" +subpackages="$pkgname-dev $pkgname-doc" +source="https://iojs.org/dist/v$pkgver/iojs-v$pkgver.tar.xz" + +_builddir="$srcdir"/iojs-v$pkgver +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --shared-openssl \ + --shared-zlib || return 1 + make || return 1 +} + +package() { + local d + + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + paxctl -cm "$pkgdir"/usr/bin/iojs || return 1 + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + + cp -pr "$pkgdir"/usr/lib/node_modules/npm/man "$pkgdir"/usr/share || return 1 + for d in doc html man; do + rm -r "$pkgdir"/usr/lib/node_modules/npm/$d || return 1 + done +} + +md5sums="fdb832ae27bc119145b0bad685b70788 iojs-v1.4.3.tar.xz" +sha256sums="ffcd739c59c7d4c1f4cbdbe288b9db2d8a7ea4605540701f28a32757bbe6dd28 iojs-v1.4.3.tar.xz" +sha512sums="11a2c4e1c802e17cd7c567aee37ce39b866cdf8b3d52374987803845ff98e29b44721720aac058ae97c697a792fac3ddcfc1aff690d91be9bc56b49c74a7d012 iojs-v1.4.3.tar.xz" -- 2.2.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---