media-libs/gd: Fixed SRC_URI (bug #583548) and EAPI-6 bump.
authorLars Wendler <polynomial-c@gentoo.org>
Fri, 20 May 2016 08:33:44 +0000 (10:33 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Fri, 20 May 2016 08:36:36 +0000 (10:36 +0200)
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
media-libs/gd/gd-2.2.0.ebuild

index 3a697e32a549588027ecb1f6aa7622c3a86a123a..fb7d12699461c831e8741c8799d55c98340dbbbc 100644 (file)
@@ -1,13 +1,13 @@
 # Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=6
 
-inherit libtool multilib-minimal
+inherit eutils libtool multilib-minimal
 
 DESCRIPTION="A graphics library for fast image creation"
 HOMEPAGE="http://libgd.org/ http://www.boutell.com/gd/"
-SRC_URI="https://bitbucket.org/libgd/gd-libgd/downloads/lib${P}.tar.xz"
+SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"
 
 LICENSE="gd IJG HPND BSD"
 SLOT="2/3"
@@ -31,6 +31,7 @@ DEPEND="${RDEPEND}
 S="${WORKDIR}/lib${P}"
 
 src_prepare() {
+       default
        elibtoolize  # for shared library on Solaris
 }