aboutsummaryrefslogtreecommitdiffstats
path: root/main/coreutils/APKBUILD
blob: 46c9cc4a1ca2c16c2383ce1f4a4411cd2ffa7d82 (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
# Contributor: Michael Mason <ms13sp@gmail.com> 
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=coreutils
pkgver=8.4
pkgrel=1
pkgdesc="The basic file, shell and text manipulation utilities"
url="http://www.gnu.org/software/coreutils/"
license="GPL"
depends=
makedepends=
install="$pkgname.post-deinstall $pkgname.post-upgrade"
subpackages="$pkgname-doc"
source="http://ftp.gnu.org/gnu/coreutils/$pkgname-$pkgver.tar.gz"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/ \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-nls \
		--without-gmp
	make || return 1
}

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

md5sums="56f549854d723d9dcebb77919019df55  coreutils-8.4.tar.gz"