blob: 7aed4f097953360ee88e81d32002f7372474b74b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
MY_P=StormLib-${PV}
DESCRIPTION="Library to read and write MPQ archives (Diablo, StarCraft)"
HOMEPAGE="
http://www.zezula.net/en/mpq/stormlib.html
https://github.com/ladislav-zezula/StormLib/
"
SRC_URI="
https://github.com/ladislav-zezula/StormLib/archive/v${PV}.tar.gz
-> ${MY_P}.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
app-arch/bzip2:=
dev-libs/libtomcrypt:=[libtommath]
sys-libs/zlib:=
"
DEPEND=${RDEPEND}
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
# interactive test app
-DSTORM_BUILD_TESTS=OFF
-DWITH_LIBTOMCRYPT=ON
)
cmake_src_configure
}
|