sys-libs/queue-standalone: use insinto/doins instead of a direct cp
authorAnthony G. Basile <blueness@gentoo.org>
Tue, 19 Feb 2019 15:49:54 +0000 (10:49 -0500)
committerAnthony G. Basile <blueness@gentoo.org>
Tue, 19 Feb 2019 15:52:36 +0000 (10:52 -0500)
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

sys-libs/queue-standalone/queue-standalone-0.1-r1.ebuild [new file with mode: 0644]

diff --git a/sys-libs/queue-standalone/queue-standalone-0.1-r1.ebuild b/sys-libs/queue-standalone/queue-standalone-0.1-r1.ebuild
new file mode 100644 (file)
index 0000000..618545b
--- /dev/null
@@ -0,0 +1,22 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Install <sys/queue.h> from glibc."
+HOMEPAGE="https://www.gnu.org/software/libc/libc.html"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~x86"
+
+DEPEND="
+       !sys-libs/glibc
+       !sys-libs/uclibc"
+
+S="${WORKDIR}"
+
+src_install() {
+       insinto /usr/include/sys
+       doins "${FILESDIR}"/queue.h
+}