summaryrefslogblamecommitdiff
path: root/system/bsd-compat-headers/APKBUILD
blob: f7f5036c0df35263733b811f5d5906147df0dc05 (plain) (tree)





























                                                                                                                                                         
# Maintainer: Adelie Platform Group <adelie-devel@lists.adelielinux.org>
pkgname=bsd-compat-headers
pkgver=0.7.1
pkgrel=1
pkgdesc="Compatibility files for building BSD software"
url=" "
arch="noarch"
options="!check"  # Just header files.
license="BSD-2-Clause AND BSD-3-Clause"
depends=""
makedepends=""
subpackages=""
source="sys-cdefs.h
	sys-queue.h
	sys-tree.h
	"

package() {
	mkdir -p "$pkgdir"
	case "$CLIBC" in
	musl)
		install -D "$srcdir"/sys-cdefs.h "$pkgdir"/usr/include/sys/cdefs.h
		install -D "$srcdir"/sys-queue.h "$pkgdir"/usr/include/sys/queue.h
		install -D "$srcdir"/sys-tree.h "$pkgdir"/usr/include/sys/tree.h
		;;
	esac
}

sha512sums="8c3fddd73b696a38e633953715c79c47703739be27ee085fc6c960a57b6746ca05bf6406f7e6126cc1a13204254fd5830afb566624e1f298f4d6b58216013c28  sys-cdefs.h
2f0d5e6e4dc3350285cf17009265dddcbe12431c111868eea39bc8cb038ab7c1f2acacbb21735c4e9d4a1fd106a8fc0f8611ea33987d4faba37dde5ce6da0750  sys-queue.h
07cb70f2f0ddb31e23dd913c6f561fc9885667c5803fdf3a559676c99d08834b4104589bacb5d17b4a0b379c68c81a1cf3173832b3da33a7b936fa7b93706844  sys-tree.h"