summaryrefslogtreecommitdiff
path: root/repo/xi/xiutils.xibuild
blob: 9a0ab0693e1852962d4df69eabb16f8437d50ff4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

MAKEDEPS="make gcc"
DEPS="musl sh"

# Use master
PKG_VER=1.2
SOURCE=https://git.davidovski.xyz/xilinux/xiutils.git
BRANCH="v$PKG_VER"

DESC="Utilities required by various components of the xilinux system"

build () {
    make
}

check () {
    make check
}

package () {
    for dir in include bin lib; do
        mkdir -p $PKG_DEST/usr/$dir
    done
    make DESTDIR=$PKG_DEST install
}