2015-01-25 21:10:38 +01:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
2012-08-08 09:25:07 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-21 14:38:36 +02:00
|
|
|
# $Id$
|
2012-08-08 09:25:07 +02:00
|
|
|
|
2013-04-30 18:33:24 +02:00
|
|
|
EAPI="5"
|
2012-08-08 09:25:07 +02:00
|
|
|
|
2013-11-13 17:06:15 +01:00
|
|
|
inherit cmake-multilib
|
2012-08-08 09:25:07 +02:00
|
|
|
|
|
|
|
DESCRIPTION="library to read and write MPQ archives"
|
|
|
|
HOMEPAGE="http://www.zezula.net/en/mpq/main.html"
|
2014-05-30 13:08:54 +02:00
|
|
|
SRC_URI="https://github.com/ladislav-zezula/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
2012-08-08 09:25:07 +02:00
|
|
|
|
|
|
|
RESTRICT="mirror"
|
|
|
|
|
|
|
|
LICENSE="as-is"
|
2015-01-25 21:10:38 +01:00
|
|
|
SLOT="0/9"
|
2012-08-08 09:25:07 +02:00
|
|
|
KEYWORDS="~amd64 ~x86"
|
2013-11-13 23:13:22 +01:00
|
|
|
IUSE="static-libs"
|
2012-08-08 09:25:07 +02:00
|
|
|
|
2014-05-30 13:08:54 +02:00
|
|
|
DEPEND="dev-libs/libtomcrypt[static-libs?,${MULTILIB_USEDEP}]
|
2013-11-13 17:06:15 +01:00
|
|
|
sys-libs/zlib[static-libs?,${MULTILIB_USEDEP}]
|
|
|
|
app-arch/bzip2[static-libs?,${MULTILIB_USEDEP}]"
|
2012-08-08 09:25:07 +02:00
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
epatch "${FILESDIR}/${PN}-multilib.patch"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
local mycmakeargs="
|
|
|
|
-DWITH_LIBTOMCRYPT=ON"
|
|
|
|
|
2013-11-13 17:06:15 +01:00
|
|
|
cmake-multilib_src_configure
|
2012-08-08 09:25:07 +02:00
|
|
|
}
|