summaryrefslogtreecommitdiff
path: root/sys-devel/compat-headers/compat-headers-1.0.ebuild
blob: 8a2caa861b1c7e0a3274fe4bced6908e5aa0e80b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 2015-2016 Adélie Linux Team
# Distributed under the terms of the NCSA License

EAPI=6

DESCRIPTION="Development headers for compatibility with BSD and glibc"
HOMEPAGE="http://alpinelinux.org/"
SRC_URI="http://git.alpinelinux.org/cgit/aports/plain/main/libc-dev/sys-cdefs.h?id=e3725c0af137717d6883265a92db3838900b5cee -> cdefs.h
	http://git.alpinelinux.org/cgit/aports/plain/main/libc-dev/sys-queue.h?id=e3725c0af137717d6883265a92db3838900b5cee -> queue.h
	http://git.alpinelinux.org/cgit/aports/plain/main/libc-dev/sys-tree.h?id=e3725c0af137717d6883265a92db3838900b5cee -> tree.h"

LICENSE="BSD-2 BSD-3 GPL2"
SLOT="0"
KEYWORDS="arm arm64 mips ppc ppc64 x86 x86_64"
IUSE=""

DEPEND="!sys-libs/glibc"
RDEPEND="${DEPEND}"

src_unpack () {
	mkdir -p "${S}"
	for header in cdefs.h queue.h tree.h; do
		cp "${DISTDIR}/${header}" "${S}"
	done
}

src_install () {
	insinto /usr/include/sys
	doins cdefs.h queue.h tree.h
}