summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2021-07-24 21:21:23 +0200
committerIonen Wolkens <ionen@gentoo.org>2021-07-28 17:22:24 -0400
commit9583375284b9f978a8068c0544bafc8b8524cadc (patch)
tree07c88bb0417db9af632b291de7b8bfffd1512df8 /media-libs/sdl-net
parentmedia-libs/quesoglc: EAPI8 bump, minor improvements (diff)
downloadgentoo-9583375284b9f978a8068c0544bafc8b8524cadc.tar.gz
gentoo-9583375284b9f978a8068c0544bafc8b8524cadc.tar.bz2
gentoo-9583375284b9f978a8068c0544bafc8b8524cadc.zip
media-libs/sdl-net: EAPI8 bump, minor ebuild improvements
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/21772 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-libs/sdl-net')
-rw-r--r--media-libs/sdl-net/sdl-net-1.2.8-r2.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/media-libs/sdl-net/sdl-net-1.2.8-r2.ebuild b/media-libs/sdl-net/sdl-net-1.2.8-r2.ebuild
new file mode 100644
index 000000000000..c84784f71651
--- /dev/null
+++ b/media-libs/sdl-net/sdl-net-1.2.8-r2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib-minimal
+
+MY_P="${P/sdl-/SDL_}"
+
+DESCRIPTION="Simple Direct Media Layer Network Support Library"
+HOMEPAGE="https://www.libsdl.org/projects/SDL_net/"
+SRC_URI="https://www.libsdl.org/projects/SDL_net/release/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+
+RDEPEND="media-libs/libsdl[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf --disable-gui
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -name '*.la' -delete || die
+}