summaryrefslogtreecommitdiff
path: root/repo/system
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-04-14 22:28:41 +0100
committerdavidovski <david@davidovski.xyz>2022-04-14 22:28:41 +0100
commit7cc715c1249422ddf91987be64a35eef43e3e62d (patch)
treefd706e77c0eaec256acf3dc24e781b5fc9f59d09 /repo/system
parent734e13526a2ec3ced7f085e444fc9525dfad348b (diff)
added auto create file
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
+}