[dev-games/StormLib] version bump, converted to cmake-multilib, also still lacks static-libs support despite existence of useflag
This commit is contained in:
33
dev-games/StormLib/StormLib-8.22.ebuild
Normal file
33
dev-games/StormLib/StormLib-8.22.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit cmake-multilib
|
||||
|
||||
DESCRIPTION="library to read and write MPQ archives"
|
||||
HOMEPAGE="http://www.zezula.net/en/mpq/main.html"
|
||||
SRC_URI="https://github.com/stormlib/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="=dev-libs/libtomcrypt-1.17-r7[static-libs?,${MULTILIB_USEDEP}]
|
||||
sys-libs/zlib[static-libs?,${MULTILIB_USEDEP}]
|
||||
app-arch/bzip2[static-libs?,${MULTILIB_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-multilib.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs="
|
||||
-DWITH_LIBTOMCRYPT=ON"
|
||||
|
||||
cmake-multilib_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user