aboutsummaryrefslogtreecommitdiffstats
path: root/main/parallel/APKBUILD
blob: 73aca67b4da05fba37f35a61b7a14442a99bcd72 (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=20170122
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="c9f0ec01463dc75dbbf292fd8be5f1eb  parallel-20170122.tar.bz2"
sha256sums="417e83d9de2fe518a976fcff5a96bffe41421c2a57713cd5272cc89d1072aaa6  parallel-20170122.tar.bz2"
sha512sums="60deebf69200abe05ff076ee40a4a36fa9cf4dad825b8e90f47a27d8aa9dde6bd1816a3f13683c37c355bbfb3793fcd156dfbb73e9f35fac7e02e338e8f36667  parallel-20170122.tar.bz2"