From 873665024ebfaa761ee49b508a79db7178aeb778 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 4 Jun 2022 15:08:04 +0100 Subject: added gnupg --- repo/libutempter/libutempter.xibuild | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 repo/libutempter/libutempter.xibuild (limited to 'repo/libutempter/libutempter.xibuild') diff --git a/repo/libutempter/libutempter.xibuild b/repo/libutempter/libutempter.xibuild new file mode 100644 index 0000000..fdab6c1 --- /dev/null +++ b/repo/libutempter/libutempter.xibuild @@ -0,0 +1,25 @@ +#!/bin/sh + +NAME="libutempter" +DESC="Library interface to record user sessions in utmp/wtmp files" + +MAKEDEPS="utmps" + +PKG_VER=1.2.1 +SOURCE="https://github.com/altlinux/libutempter/archive/$PKG_VER-alt1.tar.gz" + +prepare () { + cd libutempter + sed -i 's/ -p -m/ -m/g' Makefile +} + +build() { + make CFLAGS="-I/usr/include/utmps" LDLIBS="-Wl,--no-as-needed -lutmps -lskarnet -Wl,--as-needed" +} + +package() { + make DESTDIR="$PKG_DEST" install + chown root "$PKG_DEST/usr/lib/utempter/utempter" + chmod 2755 "$PKG_DEST/usr/lib/utempter/utempter" +} + -- cgit v1.2.1