aboutsummaryrefslogtreecommitdiffstats
path: root/main/parallel/APKBUILD
blob: ef2c451e22870e623b5f9afcf9d97ba7885ca8ce (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
pkgname=parallel
pkgver=20210122
pkgrel=0
pkgdesc="Shell tool for executing jobs in parallel"
arch="noarch"
url="https://www.gnu.org/software/parallel"
license="GPL-3.0-or-later"
options="!check" # Test suite not part of src pkg
depends="perl"
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/parallel/parallel-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="dcd3653b0ca49c5df114863dcc8d69f820c2ec3c2f8c39a86ec566f600fa80eeb218f500f982e74eb683a50bb58b55a496d9bbe002b4358e94315ba728235451  parallel-20210122.tar.bz2"