From d0cf2411a5332b4169984640351301b1522c108e Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 31 Jan 2022 23:30:51 +0000 Subject: added slang --- repo/system/libnl.xibuild | 4 +++- repo/system/slang.xibuild | 24 ++++++++++++++++++++++++ repo/util/wpa_supplicant.xibuild | 2 ++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 repo/system/slang.xibuild diff --git a/repo/system/libnl.xibuild b/repo/system/libnl.xibuild index 4cf2385..f2d16c2 100644 --- a/repo/system/libnl.xibuild +++ b/repo/system/libnl.xibuild @@ -5,7 +5,9 @@ DEPS=(glibc) 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) +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" diff --git a/repo/system/slang.xibuild b/repo/system/slang.xibuild new file mode 100644 index 0000000..e3497e1 --- /dev/null +++ b/repo/system/slang.xibuild @@ -0,0 +1,24 @@ +#!/bin/bash + +MAKEDEPS=() +DEPS=(pcre) + +PKG_VER=2.3.2 +SOURCE=https://www.jedsoft.org/releases/slang/slang-$PKG_VER.tar.bz2 +DESC="S-Lang is a powerful interpreted language" + +build () { + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --with-readline=gnu && + make -j1 +} + +package () { + make DESTDIR=$PKG_DEST install_doc_dir=/usr/share/doc/slang-$PKG_VER \ + SLSH_DOC_DIR=/usr/share/doc/slang-$PKG_VER/slsh \ + install-all && + + chmod -v 755 $PKG_DEST/usr/lib/libslang.so.$PKG_VER \ + $PKG_DEST/usr/lib/slang/v2/modules/*.so +} diff --git a/repo/util/wpa_supplicant.xibuild b/repo/util/wpa_supplicant.xibuild index 902743e..38001e1 100644 --- a/repo/util/wpa_supplicant.xibuild +++ b/repo/util/wpa_supplicant.xibuild @@ -48,6 +48,8 @@ build () { } package () { + mkdir -pv $PKG_DEST/usr/sbin + mkdir -pv $PKG_DEST/usr/share/dbus-1/system-services install -v -m755 wpa_{cli,passphrase,supplicant} $PKG_DEST/usr/sbin/ && install -v -m644 doc/docbook/wpa_supplicant.conf.5 $PKG_DEST/usr/share/man/man5/ && install -v -m644 doc/docbook/wpa_{cli,passphrase,supplicant}.8 $PKG_DEST/usr/share/man/man8/ -- cgit v1.2.1