25 lines
639 B
Bash
25 lines
639 B
Bash
# Template file for 'musl-legacy-compat'
|
|
pkgname=musl-legacy-compat
|
|
version=0.5
|
|
revision=1
|
|
archs="*-musl"
|
|
bootstrap=yes
|
|
short_desc="Legacy compatibility headers for the musl libc"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="BSD-2-Clause, BSD-3-Clause"
|
|
homepage="http://www.voidlinux.org"
|
|
|
|
do_install() {
|
|
for f in ${FILESDIR}/{cdefs,queue,tree}.h
|
|
do
|
|
vinstall ${f} 644 usr/include/sys
|
|
done
|
|
vinstall ${FILESDIR}/error.h 644 usr/include
|
|
|
|
sed -n '3,32p' < ${FILESDIR}/queue.h > LICENSE.BSD-3-Clause
|
|
sed -n '2,26p' < ${FILESDIR}/tree.h > LICENSE.BSD-2-Clause
|
|
|
|
vlicense LICENSE.BSD-3-Clause
|
|
vlicense LICENSE.BSD-2-Clause
|
|
}
|