summaryrefslogtreecommitdiff
path: root/system/libev/APKBUILD
diff options
context:
space:
mode:
authorSheila Aman <sheila@vulpine.house>2021-11-07 16:52:04 +0000
committerSheila Aman <sheila@vulpine.house>2021-11-07 16:52:04 +0000
commit5cb8eeb287e3777076efee7392a107515f9fcc22 (patch)
tree5092361fdbe265ceb9802f97e2462d29571f3540 /system/libev/APKBUILD
parent1d3deb758d3abc846405917b8fa1cc1b1e1594a3 (diff)
downloadpackages-5cb8eeb287e3777076efee7392a107515f9fcc22.tar.gz
packages-5cb8eeb287e3777076efee7392a107515f9fcc22.tar.bz2
packages-5cb8eeb287e3777076efee7392a107515f9fcc22.tar.xz
packages-5cb8eeb287e3777076efee7392a107515f9fcc22.zip
user/{c-ares,libev,nghttp2}: move to system
Diffstat (limited to 'system/libev/APKBUILD')
-rw-r--r--system/libev/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/system/libev/APKBUILD b/system/libev/APKBUILD
new file mode 100644
index 000000000..ac936cd8f
--- /dev/null
+++ b/system/libev/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: Síle Ekaterin Liszka <sheila@adelielinux.org>
+pkgname=libev
+pkgver=4.33
+pkgrel=0
+pkgdesc="Event dispatch library"
+url="http://software.schmorp.de/pkg/libev.html"
+arch="all"
+options="!check" # No test suite.
+license="BSD-2-Clause OR GPL-2.0+"
+makedepends="$depends_dev autoconf automake libtool"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://dist.schmorp.de/${pkgname}/Attic/${pkgname}-${pkgver}.tar.gz
+ libev-4.11-Add-pkgconfig-support.patch
+ "
+
+prepare() {
+ default_prepare
+ libtoolize --force && aclocal -I m4 && autoheader && autoconf \
+ && automake --add-missing
+}
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc
+ make
+}
+
+package() {
+ make -j1 DESTDIR="$pkgdir" install
+ rm "$pkgdir"/usr/include/event.h
+}
+
+sha512sums="c662a65360115e0b2598e3e8824cf7b33360c43a96ac9233f6b6ea2873a10102551773cad0e89e738541e75af9fd4f3e3c11cd2f251c5703aa24f193128b896b libev-4.33.tar.gz
+b5bc1b5ed1e605cd45a01adce70c1a97188c0b46a36333f12eccd4407c95d96f18adff90ee8c5733c1783a36b4adc5ef67d6b470104339a1ac5c4539a2a4599e libev-4.11-Add-pkgconfig-support.patch"