void-packages/srcpkgs/musl-legacy-compat/template

23 lines
576 B
Bash

# Template file for 'musl-legacy-compat'
pkgname=musl-legacy-compat
version=0.3
revision=4
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}/*.h; do
vinstall ${f} 644 usr/include/sys
done
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
}