summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-06-24 17:59:45 -0400
committerMike Gilbert <floppym@gentoo.org>2022-06-25 11:01:10 -0400
commitb5c2a107ee36f80e029c562799280a42113cf670 (patch)
tree4833afbd6dc910dcb426380da9fd885e60150ed5 /net-libs/ppp-defs
parentgames-fps/eduke32: fix keyword (diff)
downloadgentoo-b5c2a107ee36f80e029c562799280a42113cf670.tar.gz
gentoo-b5c2a107ee36f80e029c562799280a42113cf670.tar.bz2
gentoo-b5c2a107ee36f80e029c562799280a42113cf670.zip
net-libs/ppp-defs: new package
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-libs/ppp-defs')
-rw-r--r--net-libs/ppp-defs/files/ppp_defs.h6
-rw-r--r--net-libs/ppp-defs/metadata.xml7
-rw-r--r--net-libs/ppp-defs/ppp-defs-0.ebuild20
3 files changed, 33 insertions, 0 deletions
diff --git a/net-libs/ppp-defs/files/ppp_defs.h b/net-libs/ppp-defs/files/ppp_defs.h
new file mode 100644
index 000000000000..c8be812168c1
--- /dev/null
+++ b/net-libs/ppp-defs/files/ppp_defs.h
@@ -0,0 +1,6 @@
+#ifndef _NET_PPP_DEFS_H
+#define _NET_PPP_DEFS_H 1
+
+#include <linux/ppp_defs.h>
+
+#endif /* net/ppp_defs.h */
diff --git a/net-libs/ppp-defs/metadata.xml b/net-libs/ppp-defs/metadata.xml
new file mode 100644
index 000000000000..6b00211d29ea
--- /dev/null
+++ b/net-libs/ppp-defs/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>musl@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-libs/ppp-defs/ppp-defs-0.ebuild b/net-libs/ppp-defs/ppp-defs-0.ebuild
new file mode 100644
index 000000000000..f3f93b109e31
--- /dev/null
+++ b/net-libs/ppp-defs/ppp-defs-0.ebuild
@@ -0,0 +1,20 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Shim header for net/ppp_defs.h on musl"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Musl"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv x86"
+
+RDEPEND="!sys-libs/glibc"
+
+S=${WORKDIR}
+
+src_install() {
+ insinto /usr/include/net
+ doins "${FILESDIR}/ppp_defs.h"
+}