diff options
author | Julian Ospald <hasufell@gentoo.org> | 2014-04-18 20:21:13 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2014-04-18 20:21:13 +0000 |
commit | 25ce5186652742ce75bf61a56f78e9e83c3727ef (patch) | |
tree | 855e610e5e113f7aeade0d05c86f63c1e7cd626d /media-libs/sdl-net | |
parent | mask >=media-libs/sdl-net-1.2.8-r1 for multilib conversion (diff) | |
download | gentoo-2-25ce5186652742ce75bf61a56f78e9e83c3727ef.tar.gz gentoo-2-25ce5186652742ce75bf61a56f78e9e83c3727ef.tar.bz2 gentoo-2-25ce5186652742ce75bf61a56f78e9e83c3727ef.zip |
add multilib support
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
Diffstat (limited to 'media-libs/sdl-net')
-rw-r--r-- | media-libs/sdl-net/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/sdl-net/sdl-net-1.2.8-r1.ebuild | 40 |
2 files changed, 47 insertions, 2 deletions
diff --git a/media-libs/sdl-net/ChangeLog b/media-libs/sdl-net/ChangeLog index 192b50971024..83229f91b42e 100644 --- a/media-libs/sdl-net/ChangeLog +++ b/media-libs/sdl-net/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/sdl-net -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-net/ChangeLog,v 1.46 2012/07/16 15:43:45 mr_bones_ Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-net/ChangeLog,v 1.47 2014/04/18 20:21:13 hasufell Exp $ + +*sdl-net-1.2.8-r1 (18 Apr 2014) + + 18 Apr 2014; Julian Ospald <hasufell@gentoo.org> +sdl-net-1.2.8-r1.ebuild: + add multilib support 16 Jul 2012; Michael Sterrett <mr_bones_@gentoo.org> -sdl-net-1.2.7.ebuild: old diff --git a/media-libs/sdl-net/sdl-net-1.2.8-r1.ebuild b/media-libs/sdl-net/sdl-net-1.2.8-r1.ebuild new file mode 100644 index 000000000000..9e65644c0c12 --- /dev/null +++ b/media-libs/sdl-net/sdl-net-1.2.8-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-net/sdl-net-1.2.8-r1.ebuild,v 1.1 2014/04/18 20:21:13 hasufell Exp $ + +EAPI=5 +inherit multilib-minimal + +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="ZLIB" +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="static-libs" + +RDEPEND=">=media-libs/libsdl-1.2.14[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --disable-dependency-tracking \ + --disable-gui \ + $(use_enable static-libs static) +} + +multilib_src_install() { + emake DESTDIR="${D}" install +} + +multilib_src_install_all() { + dodoc CHANGES README + if ! use static-libs ; then + find "${D}" -type f -name '*.la' -exec rm {} + \ + || die "la removal failed" + fi +} |