2013-04-30 18:33:24 +02:00
|
|
|
# Copyright 1999-2013 Gentoo Foundation
|
2012-08-08 09:25:07 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $Id$
|
|
|
|
|
2013-04-30 18:33:24 +02:00
|
|
|
EAPI="5"
|
2012-08-08 09:25:07 +02:00
|
|
|
|
|
|
|
inherit cmake-utils
|
|
|
|
|
|
|
|
DESCRIPTION="library to read and write MPQ archives"
|
|
|
|
HOMEPAGE="http://www.zezula.net/en/mpq/main.html"
|
|
|
|
SRC_URI="http://people.znc.in/~dessa/ghost/deps/${P}.tar.xz"
|
|
|
|
|
|
|
|
RESTRICT="mirror"
|
|
|
|
|
|
|
|
LICENSE="as-is"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
|
|
|
|
DEPEND="=dev-libs/libtomcrypt-1.17-r7
|
|
|
|
sys-libs/zlib
|
|
|
|
app-arch/bzip2"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
epatch "${FILESDIR}/${PN}-multilib.patch"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
local mycmakeargs="
|
|
|
|
-DWITH_LIBTOMCRYPT=ON"
|
|
|
|
|
|
|
|
cmake-utils_src_configure
|
|
|
|
}
|