X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 65C22DC0875 for ; Tue, 19 Apr 2016 09:34:14 +0000 (UTC) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 1909DDC06E4 for ; Tue, 19 Apr 2016 09:34:13 +0000 (UTC) Received: by mail-pa0-f51.google.com with SMTP id zm5so5066346pac.0 for ; Tue, 19 Apr 2016 02:34:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=FbZBmBdEZvnb/dqYK2fk+FctI6lddcG8Zfz0zazxIWc=; b=qdhhPTMHez3Poe5LGBmiF3s3QNkEyVpqvhn1QcIuzflPivVBu+WzF+UZAE+jGLK0zp oTVZNxhuCl1UsnXlBerem+qASXVfitfFcJ5KXUu6NZcOEBUJAVP4n1TK01+yoT6aH8AF oySA7j1sKh/GNg9Mjg+RiFMRE4sbVuhvUUAljlpU0B5z6idJWnHxVCGmpFE99Lpbj/QH w6m6E0NbU/Lg6eA6tkz7fTwaMzONnhbiTbo+HYbRHhktCmhJ+IHg9L/pZWapVPlqjHfb xoGrn2ax0zk/gS0uolY6mXdT1saBQtWhnwDQOszPPD5E0KnsCPfFHbhHCe4EdUomTe4j 1Q/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=FbZBmBdEZvnb/dqYK2fk+FctI6lddcG8Zfz0zazxIWc=; b=SqXPS0xRDnrAh4OvS9Xk+NpHMNRFr6K46a1ig0Gj+o455NQTwPiJgObzNe1nYqIMLR b0oK4RI1oV1+0f+dfzTsZBokvewnVI2ek19h/A/AbQ40IPuMjCx/wPMLpHrACrL+QXil dng+T242/mLsZY68lIWAf1Vlf0A9vRXduEKB+w2F7j8GEJYaWfoDPBt1pxIwcvIrM4Ce sBec8hPx9LSYRqbM1zasIBMBlpaV0JDfRXr+edyXmcc3B/lKpKkpQmkojnufCoqNfeI8 hZPFWSEfQCK6o63KCic0t9ytbcSgTYLDzEknmrU9JsQbsVcCbKl5jWozfwQ49aDU6bTo x2fQ== X-Gm-Message-State: AOPr4FUZKKSVqsznFD2WaODd/QFaOZFW7tJS6ypScCUgka69kM+Sa0crBbrY4x6+NK8rTw== X-Received: by 10.66.136.10 with SMTP id pw10mr2559538pab.113.1461058452992; Tue, 19 Apr 2016 02:34:12 -0700 (PDT) Received: from 53b655ffa63d.users.sphinet.com.sg ([203.117.75.3]) by smtp.gmail.com with ESMTPSA id oy2sm89709056pac.38.2016.04.19.02.34.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Apr 2016 02:34:12 -0700 (PDT) From: nirosan To: alpine-aports@lists.alpinelinux.org Cc: nirosan Subject: [alpine-aports] [PATCH] testing/R: new aport Date: Tue, 19 Apr 2016 17:34:04 +0800 Message-Id: <1461058444-2935-1-git-send-email-pnirosan@gmail.com> X-Mailer: git-send-email 2.6.6 X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: https://www.r-project.org/ Alpine package of R Project for Statistical Computing --- testing/R/APKBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ testing/R/R | 1 + testing/R/Rscript | 1 + 3 files changed, 48 insertions(+) create mode 100644 testing/R/APKBUILD create mode 120000 testing/R/R create mode 120000 testing/R/Rscript diff --git a/testing/R/APKBUILD b/testing/R/APKBUILD new file mode 100644 index 0000000..dfb21d8 --- /dev/null +++ b/testing/R/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Nirosan +# Maintainer: +pkgname=R +pkgver=3.2.4 +pkgrel=0 +pkgdesc="R-3.2.4 project for Statistical Computing" +url="https://www.r-project.org" +arch="all" +license="MIT" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="" +source="https://cran.r-project.org/src/base/R-3/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --prefix=/usr \ + --with-x=no \ + || return 1 + make || return 1 +} + +package() { + mkdir -p "$pkgdir" || return 1 + cp -ra "$_builddir"/* "$pkgdir"/ || return 1 + ln -s "$pkgdir"/bin/R R + ln -s "$pkgdir"/bin/Rscript Rscript +} + +md5sums="5953104583ed93dc2085a6c80e884e4a R-3.2.4.tar.gz" +sha256sums="bafd405fe9c2fe3bbe47a8a7730ad120f03b7df9fb0f61674fca19cf061dd350 R-3.2.4.tar.gz" +sha512sums="a74f01a9b47437feb81520c10936a6f2bc7700900730ec87b7f1442ee90bcf1d7aac9ef3345aa046c0566f1920f114da0a616c5f355b1e8480dc01e311476cbf R-3.2.4.tar.gz" diff --git a/testing/R/R b/testing/R/R new file mode 120000 index 0000000..ef8a27f --- /dev/null +++ b/testing/R/R @@ -0,0 +1 @@ +/home/niro/aports/testing/R/pkg/R/bin/R \ No newline at end of file diff --git a/testing/R/Rscript b/testing/R/Rscript new file mode 120000 index 0000000..89d0f6f --- /dev/null +++ b/testing/R/Rscript @@ -0,0 +1 @@ +/home/niro/aports/testing/R/pkg/R/bin/Rscript \ No newline at end of file -- 2.6.6 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---