aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libfixposix
diff options
context:
space:
mode:
authorWill Sinatra <wpsinatra@gmail.com>2019-08-21 15:05:10 -0500
committerLeo <thinkabit.ukim@gmail.com>2019-08-23 17:24:18 -0300
commitce2b491909852218731819af6195979af189cfbb (patch)
tree44cba8998a768617df1c2de2c06aa9d43f4d3d48 /testing/libfixposix
parent0a565275e8b65c55ddd6b47a1a16dff7d9d90d65 (diff)
downloadaports-ce2b491909852218731819af6195979af189cfbb.tar.bz2
aports-ce2b491909852218731819af6195979af189cfbb.tar.xz
testing/libfixposix: new aport
Co-authored-by: Leo <thinkabit.ukim@gmail.com>
Diffstat (limited to 'testing/libfixposix')
-rw-r--r--testing/libfixposix/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/libfixposix/APKBUILD b/testing/libfixposix/APKBUILD
new file mode 100644
index 0000000000..17dae88011
--- /dev/null
+++ b/testing/libfixposix/APKBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Will Sinatra <wpsinatra@gmail.com>
+# Contributor: Will Sinatra <wpsinatra@gmail.com>
+pkgname=libfixposix
+pkgver=0.4.3
+pkgrel=0
+pkgdesc="Thin wrapper over POSIX syscalls"
+url="https://github.com/sionescu/libfixposix"
+arch="all"
+license="BSL-1.0"
+makedepends="autoconf automake libtool"
+subpackages="$pkgname-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/sionescu/libfixposix/archive/v$pkgver.tar.gz"
+
+prepare() {
+ default_prepare
+ autoreconf -f -i
+}
+
+check() {
+ make check
+}
+
+build() {
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="cd1ef4d51a885a0994475563472f0e9d03b8223a69d2f9b30666c2f7eb8716421434a829e710832ae58607944a09410efc693a51f76cb854ccc7278bf619702a libfixposix-0.4.3.tar.gz"