# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: EAPI=2 inherit games cmake-utils DESCRIPTION="OpenClonk is the successor of the shareware game series Clonk" HOMEPAGE="http://www.openclonk.org/" SRC_URI="http://hg.openclonk.org/openclonk/archive/openclonk-release-${PV}-src.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="" RESTRICT="" RDEPEND="x11-libs/libX11 x11-libs/libXxf86vm x11-libs/libXrandr x11-libs/libXpm media-libs/glew virtual/opengl media-libs/libpng dev-libs/openssl media-libs/libsdl media-libs/sdl-mixer x11-libs/gtk+:2 virtual/jpeg sys-libs/zlib dev-libs/boost" DEPEND="${RDEPEND} dev-util/cmake" S=${WORKDIR}/openclonk-release-${PV}-src src_configure() { cmake-utils_src_configure echo "Patchng cmake install..." patch -R -d "${CMAKE_BUILD_DIR}" < "${FILESDIR}/cmake_install.patch" }