From e3c0f2d5e31a36a98d529770384d023c491e1b66 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 13 Feb 2022 11:39:34 +0000 Subject: added xib and xiutils --- repo/xi/xib.xipkg | 12 ++++++++++++ repo/xi/xibuild.xibuild | 2 +- repo/xi/xichroot.xipkg | 4 ++-- repo/xi/xiutils.xipkg | 15 +++++++++++++++ 4 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 repo/xi/xib.xipkg create mode 100644 repo/xi/xiutils.xipkg (limited to 'repo') diff --git a/repo/xi/xib.xipkg b/repo/xi/xib.xipkg new file mode 100644 index 0000000..7572f25 --- /dev/null +++ b/repo/xi/xib.xipkg @@ -0,0 +1,12 @@ +#!/bin/bash + +MAKEDEPS=() +DEPS=(xichroot xiutils git tar unzip) + +SOURCE=https://git.davidovski.xyz/xilinux/xib.git +DESC="The XiBuild system" + +package () { + mkdir -pv $PKG_DEST/var/lib/xib + mv * $PKG_DEST/var/lib/xib/ +} diff --git a/repo/xi/xibuild.xibuild b/repo/xi/xibuild.xibuild index de95fb7..5f59513 100644 --- a/repo/xi/xibuild.xibuild +++ b/repo/xi/xibuild.xibuild @@ -4,7 +4,7 @@ MAKEDEPS=() DEPS=(bash tar git hg curl openssl ) SOURCE=https://git.davidovski.xyz/xilinux/xibuild.git -DESC="The build system for xilinux used to build packages and maintain repositories" +DESC="The depricated xilinux build system, use XiB" package () { mkdir -pv $PKG_DEST/usr/bin diff --git a/repo/xi/xichroot.xipkg b/repo/xi/xichroot.xipkg index 60192e5..ce24739 100644 --- a/repo/xi/xichroot.xipkg +++ b/repo/xi/xichroot.xipkg @@ -3,9 +3,9 @@ MAKEDEPS=(bash) DEPS=(bash) -SOURCE=https://git.davidovski.xyz/xilinux/xiscripts.git +SOURCE=https://git.davidovski.xyz/xilinux/xiutils.git DESC="A script to aid with chrooting on XiLinux" package () { - install -m755 xichroot $PKG_DEST/usr/bin/xichroot + make DESTDIR=$PKG_DEST install-chroot } diff --git a/repo/xi/xiutils.xipkg b/repo/xi/xiutils.xipkg new file mode 100644 index 0000000..1b71fde --- /dev/null +++ b/repo/xi/xiutils.xipkg @@ -0,0 +1,15 @@ +#!/bin/bash + +MAKEDEPS=(gcc make) +DEPS=() + +SOURCE=https://git.davidovski.xyz/xilinux/xiutils.git +DESC="Utilities required by various components of the xilinux system" + +build () { + make +} + +package () { + make DESTDIR=$PKG_DEST install +} -- cgit v1.2.1