summaryrefslogtreecommitdiff
path: root/repo/system/musl-legacy-compat.xibuild
blob: 00ecaa15784a6c3009ba28d75ba5ba3abb92f3dc (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 -D -m644 $h.h $PKG_DEST/usr/include/sys
    done
}