Skip to content

Instantly share code, notes, and snippets.

@sasin91
Created July 7, 2020 20:43
Show Gist options
  • Save sasin91/48a121fe05bcc1b269787ad0aaa00e48 to your computer and use it in GitHub Desktop.
Save sasin91/48a121fe05bcc1b269787ad0aaa00e48 to your computer and use it in GitHub Desktop.
Ebuild for compiling the latest TrinityCore 3.3.5 on Gentoo
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake cmake-utils git-r3
DESCRIPTION="TrinityCore WoW Private server for WoTLK 3.3.5a"
HOMEPAGE="https://trinitycore.org"
EGIT_REPO_URI="https://github.com/TrinityCore/TrinityCore.git"
EGIT_BRANCH="3.3.5"
EGIT_CHECKOUT_DIR="${S}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND="
>=dev-libs/boost-1.58
>=dev-libs/openssl-1.0.0
>=dev-db/mariadb-10.1
>=dev-util/cmake-3.13.4
>=sys-devel/gcc-7.1.0
>=sys-libs/zlib-1.2.7
"
PATCHES=(
# ${FILESDIR}/${P}-change-something.patch
)
CMAKE_MAKEFILE_GENERATOR="emake"
CMAKE_USE_DIR="${WORKDIR}/${P}"
src_configure() {
local mycmakeargs=(
-DTOOLS=1
)
cmake-utils_src_configure
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment