From f6332a43c35387c4a2dea1746be5fd092890ae0e Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 27 Jun 2022 23:09:07 +0100 Subject: added lf and iptables --- repo/augeas/augeas.xibuild | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 repo/augeas/augeas.xibuild (limited to 'repo/augeas/augeas.xibuild') diff --git a/repo/augeas/augeas.xibuild b/repo/augeas/augeas.xibuild new file mode 100644 index 0000000..2064482 --- /dev/null +++ b/repo/augeas/augeas.xibuild @@ -0,0 +1,44 @@ +#!/bin/sh + +NAME="augeas" +DESC="A configuration editing tool" + +MAKEDEPS=" autoconf automake libxml2 readline libtool" + +PKG_VER=1.12.0 +SOURCE="http://download.augeas.net/augeas-$PKG_VER.tar.gz" + +ADDITIONAL=" +acf.aug +awall.aug +fix-test.patch +" + +prepare() { + apply_patches + autoreconf -f -i +} + +build() { + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-static \ + --enable-shared \ + --disable-gnulib-tests + make +} + +package() { + make DESTDIR="$PKG_DEST" install + rm -rf "$PKG_DEST"/usr/lib/charset.alias + # Upstream packaging mistake, this should never have been installed + rm -f "$PKG_DEST"/usr/bin/dump + + local lens + for lens in acf awall; do + install -m 644 "$BUILD_ROOT"/$lens.aug "$PKG_DEST"/usr/share/augeas/lenses + done +} -- cgit v1.2.1