From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/libnl/libnl.xibuild | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 repo/libnl/libnl.xibuild (limited to 'repo/libnl') diff --git a/repo/libnl/libnl.xibuild b/repo/libnl/libnl.xibuild new file mode 100644 index 0000000..7ea18ba --- /dev/null +++ b/repo/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