diff options
author | davidovski <david@davidovski.xyz> | 2022-01-31 23:08:10 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-31 23:08:43 +0000 |
commit | 53d95500c73afb77ddf484202860288f50e9f54e (patch) | |
tree | 5e1ab230966e3a6219330a87f4f1248321b97ea7 /repo/system | |
parent | ba9c66711f4f7c475bd6b494a90e9b59877ba7fa (diff) |
added libnl
Diffstat (limited to 'repo/system')
-rw-r--r-- | repo/system/libnl.xibuild | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/system/libnl.xibuild b/repo/system/libnl.xibuild new file mode 100644 index 0000000..1a9ed2b --- /dev/null +++ b/repo/system/libnl.xibuild @@ -0,0 +1,22 @@ +#!/bin/bash + +MAKEDEPS=() +DEPS=(glibc) + +PKG_VER=3.7 +SOURCE=https://github.com/thom311/libnl/releases/download/libnl3_5_0/libnl-3.5.0.tar.gz +DESC="Library for applications dealing with netlink sockets" + +build () { + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --disable-static && + make +} + +package () { + make DESTDIR=$PKG_DEST install + mkdir -vp $PKG_DEST/usr/share/doc/libnl-3.5.0 && + tar -xf ../libnl-doc-3.5.0.tar.gz --strip-components=1 --no-same-owner \ + -C $PKG_DEST/usr/share/doc/libnl-3.5.0 +} |