package/bullet: bump to version 2.85.1
[buildroot-gz.git] / package / musl-compat-headers / musl-compat-headers.mk
blob25e032c727c595d06eeb30b52c1b71a5c416a361
1 ################################################################################
3 # musl-compat-headers
5 ################################################################################
7 # No main site, just using extra downloads
8 MUSL_COMPAT_HEADERS_QUEUE_H = http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/queue.h?rev=1.70
10 MUSL_COMPAT_HEADERS_EXTRA_DOWNLOADS = $(MUSL_COMPAT_HEADERS_QUEUE_H)
12 MUSL_COMPAT_HEADERS_LICENSE = BSD-3c, Public Domain or CC0
13 MUSL_COMPAT_HEADERS_LICENSE_FILES = queue.h cdefs.h
15 MUSL_COMPAT_HEADERS_ADD_TOOLCHAIN_DEPENDENCY = NO
17 # Only installs headers
18 MUSL_COMPAT_HEADERS_INSTALL_TARGET = NO
19 MUSL_COMPAT_HEADERS_INSTALL_STAGING = YES
21 # Copying both headers so legal-info finds them (they are _LICENSE_FILES)
22 define MUSL_COMPAT_HEADERS_EXTRACT_CMDS
23 $(INSTALL) -m 0644 -D $(DL_DIR)/$(notdir $(MUSL_COMPAT_HEADERS_QUEUE_H)) $(@D)/queue.h
24 $(INSTALL) -m 0644 -D $(MUSL_COMPAT_HEADERS_PKGDIR)/cdefs.h $(@D)/cdefs.h
25 endef
27 define MUSL_COMPAT_HEADERS_INSTALL_STAGING_CMDS
28 $(INSTALL) -D -m 0644 $(@D)/queue.h \
29 $(STAGING_DIR)/usr/include/sys/queue.h
30 $(INSTALL) -D -m 0644 $(@D)/cdefs.h \
31 $(STAGING_DIR)/usr/include/sys/cdefs.h
32 endef
34 $(eval $(generic-package))