aboutsummaryrefslogtreecommitdiffstats
path: root/main/fortify-headers/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-03-09 13:47:55 +0000
committerTimo Teräs <timo.teras@iki.fi>2015-03-16 13:10:29 +0000
commitffe8d64b56a7276d1b0aa7d6186d51e25535936b (patch)
treedeb43aeb3b27671d24e2a8114afb48c8f8e09fd0 /main/fortify-headers/APKBUILD
parent815fa5f271eaca6927ff00d84172c3cad56666dd (diff)
downloadaports-ffe8d64b56a7276d1b0aa7d6186d51e25535936b.tar.bz2
aports-ffe8d64b56a7276d1b0aa7d6186d51e25535936b.tar.xz
main/fortify-headers: new aport
Standalone fortify source implementation http://git.2f30.org/fortify-headers/
Diffstat (limited to 'main/fortify-headers/APKBUILD')
-rw-r--r--main/fortify-headers/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/fortify-headers/APKBUILD b/main/fortify-headers/APKBUILD
new file mode 100644
index 0000000000..2202531276
--- /dev/null
+++ b/main/fortify-headers/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=fortify-headers
+pkgver=0.3
+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
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="0adda9abc732cd278386debbffb1fbd9 fortify-headers-0.3.tar.gz"
+sha256sums="82b9f1984b6b64b8d53e4a556d828c9f8e4feb2a8e3b444c185ed2f990265c2e fortify-headers-0.3.tar.gz"
+sha512sums="f85a3036f5c1be41c0a565e12bcce9b8d0a539adcc8d40146600c3b1bb290669b9122b64d655f4c6cbfc4366f80834b323a09cc663f0a806123db973d1f27a88 fortify-headers-0.3.tar.gz"