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

27 lines
650 B
Bash

# Template file for 'musl-legacy-compat'
pkgname=musl-legacy-compat
version=0.3
revision=2
bootstrap=yes
short_desc="Legacy compatibility headers for the musl libc"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="BSD-2-Clause, BSD-3-Clause"
homepage="http://www.voidlinux.eu"
case "$XBPS_TARGET_MACHINE" in
*-musl) ;;
#*) broken="Only valid for musl systems";;
esac
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
}