aboutsummaryrefslogtreecommitdiffstats
path: root/main/parallel/APKBUILD
blob: 4f3b4cd21c05b787139c01dca1f5b52769b41eb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
pkgname=parallel
pkgver=20160922
pkgrel=0
pkgdesc="Shell tool for executing jobs in parallel"
arch="noarch"
url="http://www.gnu.org/software/parallel/"
license="GPL3"
depends="perl"
subpackages="$pkgname-doc"
source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="48eaf1b74a0c4ee1fcb0cbe599d667f4  parallel-20160922.tar.bz2"
sha256sums="d86f3ddfebb73ef8020559a54db0837c3f436ec4fd0a9d3a635cce2df609f894  parallel-20160922.tar.bz2"
sha512sums="42f9f17c85599df51e367eea3efd07b476c21d1774fc4268737ffa232a59b6ca90a4d1af6f47336c7eac88538bcbd76c4d3bf9c8b463b07b70a4c91cbbc54a85  parallel-20160922.tar.bz2"