summaryrefslogtreecommitdiff
path: root/repo/xi/xiutils.xibuild
blob: 3d69986fa41ad7f3aa97b6d60e108fff81bd7105 (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
#!/bin/sh

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

PKG_VER=1.3.1
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
}