aboutsummaryrefslogtreecommitdiffstats
path: root/main/fortify-headers/APKBUILD
blob: 0793d2db768b51f8b15c633c93bc6b580aee1ed2 (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
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=fortify-headers
pkgver=0.8
pkgrel=0
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
	"

_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="678ebdac0c3278b934c6524cd1e3dc4c  fortify-headers-0.8.tar.gz"
sha256sums="afcd073d6d8d175eede2a28a7dd71b7150cb03290f99102261892c793f6b4cb1  fortify-headers-0.8.tar.gz"
sha512sums="14cb6da17ed53272b1439a126a402246395f59e54b339ebf4e6ed8b1ed896702afc15f3084ec0e618b93dbf103cb4e9bc3735f4cab886a0d2ba57081bdcbf9dc  fortify-headers-0.8.tar.gz"