From e4a392b4e1e547c9569abdd1f08ec51da3dc4562 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 15 Jun 2022 23:15:23 +0100 Subject: added netcat --- repo/libbsd/libbsd.xibuild | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 repo/libbsd/libbsd.xibuild (limited to 'repo/libbsd/libbsd.xibuild') diff --git a/repo/libbsd/libbsd.xibuild b/repo/libbsd/libbsd.xibuild new file mode 100644 index 0000000..18de571 --- /dev/null +++ b/repo/libbsd/libbsd.xibuild @@ -0,0 +1,37 @@ +#!/bin/sh + +NAME="libbsd" +DESC="commonly-used BSD functions not implemented by all libcs" + +MAKEDEPS="libmd" + +PKG_VER=0.11.6 +SOURCE="https://libbsd.freedesktop.org/releases/libbsd-$PKG_VER.tar.xz" + +ADDITIONAL=" +disable-fpurge-test.patch +" + +prepare() { + apply_patches + + ./autogen +} + +build() { + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var + make +} + +check() { + make check +} + +package() { + make DESTDIR="$PKG_DEST" install +} -- cgit v1.2.1