Commits

hasufell committed d18ec65

[dev-games/stormlib] initial import

  • Participants
  • Parent commits ab185ce

Comments (0)

Files changed (2)

File dev-games/stormlib/Manifest

+DIST stormlib-9.00.tar.gz 889866 SHA256 4388f6b1e003987d4f925a0e58db53fc0ccb5b2ccb6fadbebe4575aa3e876a3d SHA512 d3d09e9d8b9cd7c107ea8156a6e2f673b68cdba11203bafdedee8b721154300ac163bd1819d7382c5170df5c8d7d4ef4ddd7d12c50ae11b0369c3e497a576bfa WHIRLPOOL b7deaf9ae7c7b32277733f32244a277e5b5c12d444f808eff73ca0e3fd0b53b7e59fcac54b20bd17f9749038e6122a8e4624a9e246d633879ff55fae73595393
+EBUILD stormlib-9.00.ebuild 737 SHA256 2fc704252d3f96e22e690317b6a6242d07cdf8fc80b87e488caea5bf057351af SHA512 f3840109c7ff42b07bcea576dfbb5108311742dd9a1843d70302726428935069176f2f0c4a60e063a6aaa82d0244af3ddc534a840749aadca667b64d207c9649 WHIRLPOOL e9208c0b50fa458fc9746a59606100c116a72ec9c856f472a44e7b93776d817f844ab9291bc73c5b6591a82df01449b45ed8bc4dbb4ba27bd6a324bd470b3c5d

File dev-games/stormlib/stormlib-9.00.ebuild

+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit multilib cmake-utils vcs-snapshot
+
+DESCRIPTION="Open-source lib that can work with Blizzard MPQ archives"
+HOMEPAGE="http://www.zezula.net/mpq.html"
+SRC_URI="https://github.com/wheybags/StormLib/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static"
+
+RDEPEND="
+	app-arch/bzip2
+	sys-libs/zlib"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	sed -i \
+		-e "/LIBRARY DESTINATION/s# lib # $(get_libdir) #" \
+		CMakeLists.txt || die "failed fixing libdir"
+}
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_with static STATIC)
+	)
+
+	cmake-utils_src_configure
+}