From 739c65c54cb0e957df5e9b76f93fb02554e5cac3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 4 May 2022 23:52:30 +0100 Subject: moved everything to new file formatting --- repo/system/libnl/libnl.xibuild | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 repo/system/libnl/libnl.xibuild (limited to 'repo/system/libnl/libnl.xibuild') diff --git a/repo/system/libnl/libnl.xibuild b/repo/system/libnl/libnl.xibuild new file mode 100644 index 0000000..7ea18ba --- /dev/null +++ b/repo/system/libnl/libnl.xibuild @@ -0,0 +1,27 @@ +#!/bin/sh + +MAKEDEPS="make tar gzip" +DEPS="musl" + +PKG_VER=3.5.0 +SOURCE=https://github.com/thom311/libnl/releases/download/libnl$(echo $PKG_VER | sed 's/\./_/g')/libnl-$PKG_VER.tar.gz +ADDITIONAL=" + https://github.com/thom311/libnl/releases/download/libnl$(echo $PKG_VER | sed 's/\./_/g')/libnl-doc-$PKG_VER.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 -p $PKG_DEST/usr/share/doc/libnl-$PKG_VER && + /usr/bin/tar -xf libnl-doc-$PKG_VER.tar.gz --strip-components=1 --no-same-owner \ + -C $PKG_DEST/usr/share/doc/libnl-$PKG_VER +} -- cgit v1.2.1