summaryrefslogtreecommitdiff
path: root/repo/system
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-31 23:30:51 +0000
committerdavidovski <david@davidovski.xyz>2022-01-31 23:30:51 +0000
commitd0cf2411a5332b4169984640351301b1522c108e (patch)
treef2f39b15b2ffd21981c29511c95d84acfe90bc91 /repo/system
parent5ae141ef9a65db9eae6f65b0d45454599de29619 (diff)
added slang
Diffstat (limited to 'repo/system')
-rw-r--r--repo/system/libnl.xibuild4
-rw-r--r--repo/system/slang.xibuild24
2 files changed, 27 insertions, 1 deletions
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
+}