summaryrefslogtreecommitdiff
path: root/repo/system
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system')
-rw-r--r--repo/system/libconfig.xibuild27
-rw-r--r--repo/system/libev.xibuild24
2 files changed, 51 insertions, 0 deletions
diff --git a/repo/system/libconfig.xibuild b/repo/system/libconfig.xibuild
new file mode 100644
index 0000000..b81a2bd
--- /dev/null
+++ b/repo/system/libconfig.xibuild
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+NAME="libconfig"
+DESC="A simple library for manipulating structured configuration files"
+
+MAKEDEPS="make automake autoconf libtool"
+DEPS="musl"
+
+PKG_VER=1.7.3
+SOURCE="https://github.com/hyperrealm/libconfig/archive/v$PKG_VER.tar.gz"
+
+prepare () {
+ autoreconf -fi
+}
+
+build () {
+ ./configure \
+ --prefix=/usr
+ --bindir=/usr/bin \
+ --sysconfdir=/etc \
+ --disable-static
+ make
+}
+
+package () {
+ make -j1 DESTDIR=$PKG_DEST install
+}
diff --git a/repo/system/libev.xibuild b/repo/system/libev.xibuild
new file mode 100644
index 0000000..6f43e9b
--- /dev/null
+++ b/repo/system/libev.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+MAKEDEPS="make"
+DEPS="musl"
+
+PKG_VER=4.33
+SOURCE=http://dist.schmorp.de/libev/Attic/libev-$PKG_VER.tar.gz
+ADDITIONAL="
+ libev-4.11-Add-pkgconfig-support.patch
+"
+
+DESC="Library for applications dealing with netlink sockets"
+
+build () {
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-static &&
+ make
+}
+
+package () {
+ make -j1 DESTDIR=$PKG_DEST install
+ rm $PKG_DEST/usr/include/event.h
+}