summaryrefslogtreecommitdiff
path: root/repo/system/musl-legacy-compat.xibuild
blob: 33d0e45c026418ee9a3dce4a973541f2dc331bfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

MAKEDEPS=""
DEPS="musl"

HEADER_SOURCE="https://raw.githubusercontent.com/void-linux/void-packages/master/srcpkgs/musl-legacy-compat/files"
ADDITIONAL="
    $HEADER_SOURCE/cdefs.h
    $HEADER_SOURCE/queue.h
    $HEADER_SOURCE/tree.h
"

DESC="Legacy compatibility headers for musl"

package () {
    for h in cdefs queue tree
    do
        install -v -D -m644 $h.h $PKG_DEST/usr/include/sys
    done
}