Drop old media-libs/sdl-net package as i did not use ipv6 patch from it anymore
This commit is contained in:
parent
ca940e4072
commit
022bc5a46c
@ -1 +0,0 @@
|
|||||||
DIST SDL_net-1.2.7.tar.gz 373866 BLAKE2B 4ba9aa62e9358d491983a452960059a3d3d01cb1d28233ed9e925f6bb7fb937c6d9582827b159f57f01c575bc060d0ea727f7ff7fa0eee2a3092f16a0279dec1 SHA512 d255297df97bda4ab27710120404254aba83418a62899210df36d228d0dc61324cda5910e61520c6fda8c4d6104966da7f6af9311564a2180dbcd0a007cbe069
|
|
File diff suppressed because it is too large
Load Diff
@ -1,45 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
# Pinkbyte: needed for eautoreconf, epatch
|
|
||||||
inherit autotools eutils
|
|
||||||
|
|
||||||
MY_P=${P/sdl-/SDL_}
|
|
||||||
DESCRIPTION="Simple Direct Media Layer Network Support Library"
|
|
||||||
HOMEPAGE="http://www.libsdl.org/projects/SDL_net/index.html"
|
|
||||||
SRC_URI="http://www.libsdl.org/projects/SDL_net/release/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
|
||||||
IUSE="ipv6 static-libs"
|
|
||||||
|
|
||||||
DEPEND=">=media-libs/libsdl-1.2.5"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Pinkbyte: patch for IPv6
|
|
||||||
use ipv6 && epatch "${FILESDIR}/${P}-ipv6-new.patch"
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
--disable-dependency-tracking \
|
|
||||||
$(use_enable static-libs static) \
|
|
||||||
$(use_enable ipv6)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die "make install failed"
|
|
||||||
dodoc CHANGES README
|
|
||||||
if ! use static-libs ; then
|
|
||||||
find "${D}" -type f -name '*.la' -exec rm {} + \
|
|
||||||
|| die "la removal failed"
|
|
||||||
fi
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user