diff options
Diffstat (limited to 'media-libs/glpng/glpng-1.46-r1.ebuild')
-rw-r--r-- | media-libs/glpng/glpng-1.46-r1.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/media-libs/glpng/glpng-1.46-r1.ebuild b/media-libs/glpng/glpng-1.46-r1.ebuild new file mode 100644 index 000000000000..88d70343bff0 --- /dev/null +++ b/media-libs/glpng/glpng-1.46-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit cmake-multilib + +DESCRIPTION="An OpenGL PNG image library" +HOMEPAGE="http://repo.or.cz/w/glpng.git" +SRC_URI="http://repo.or.cz/w/glpng.git/snapshot/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="static-libs" + +RDEPEND="virtual/opengl[${MULTILIB_USEDEP}] + virtual/glu[${MULTILIB_USEDEP}] + media-libs/libpng:0=[${MULTILIB_USEDEP}] + sys-libs/zlib:=[${MULTILIB_USEDEP}]" +DEPEND=${RDEPEND} + +S=${WORKDIR}/${PN} + +src_configure() { + local mycmakeargs=( "$(cmake-utils_use_build static-libs STATIC_LIBS)" ) + cmake-multilib_src_configure +} |