aboutsummaryrefslogtreecommitdiffstats
path: root/main/fortify-headers/APKBUILD
blob: 1e202dc48f08ebea988be9fd8dd7aa2a988d1116 (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
36
37
38
39
40
41
42
43
44
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=fortify-headers
pkgver=0.7
pkgrel=1
pkgdesc="standalone fortify source implementation"
url="http://git.2f30.org/fortify-headers/"
arch="noarch"
license="BSD-0"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="http://dl.2f30.org/releases/$pkgname-$pkgver.tar.gz
	0001-Only-include-limits.h-when-actually-used.patch
	"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" PREFIX=/usr install || return 1
}

md5sums="3f7c36daa0be000987e8ad8c0a202b42  fortify-headers-0.7.tar.gz
b5a474834aa5ef8797155bd60ac604c1  0001-Only-include-limits.h-when-actually-used.patch"
sha256sums="683ac9ae7bddb2975a2a76c9b09f432097928c8dfe8561c0aabf69f90f30920d  fortify-headers-0.7.tar.gz
c076159979d3c2b2dcab6964d9a88fe7a0acd4a566d08daa6c1359b694fa0701  0001-Only-include-limits.h-when-actually-used.patch"
sha512sums="9335d5042f973904cf131d4894c71d3d25c84e82427500064a4ed3f798abd8051c3b52375a17c807ca89227115fa5ba9922939f0e86059a9f04fee61f0b69e53  fortify-headers-0.7.tar.gz
cd9aa8dbf570d169ef1d2efbdd680bbc4eec61444268c6fe8405961f4da95ce5cedb1eca79959e59d2d950259b07d6d6c1e4a3d4f6c536de9ec9ff45d4510099  0001-Only-include-limits.h-when-actually-used.patch"