aboutsummaryrefslogtreecommitdiffstats
path: root/core/patch/APKBUILD
blob: 2006c9fb9d7497c62479aad65de1167955baa958 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pkgname=patch
pkgver=2.5.9
pkgrel=0
pkgdesc="Utility to apply diffs to files"
url="http://www.gnu.org/software/patch/patch.html"
license='GPL'
depends='uclibc'
source=http://alpha.gnu.org/gnu/diffutils/$pkgname-$pkgver.tar.gz

subpackages="$pkgname-doc"

build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --mandir=/usr/share/man
	make || return 1
	make prefix=$startdir/pkg/usr mandir=$startdir/pkg/usr/share/man install
}

md5sums='dacfb618082f8d3a2194601193cf8716  patch-2.5.9.tar.gz'