summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@gmx.de>2018-12-21 05:49:58 +0100
committerSven Eden <sven.eden@gmx.de>2018-12-21 05:49:58 +0100
commitec1e8c51d10b39e6e9523acef56e69e97b86247e (patch)
tree4f7e1c0505ef9ff6c4dfc3d69f22f5c743759de4 /app-text/getRandomName/getRandomName-0.9.1.ebuild
parentapp-text/getRandomName: New ebuild for version 0.9.0 (diff)
downloadseden-ec1e8c51d10b39e6e9523acef56e69e97b86247e.tar.gz
seden-ec1e8c51d10b39e6e9523acef56e69e97b86247e.tar.bz2
seden-ec1e8c51d10b39e6e9523acef56e69e97b86247e.zip
app-text/getRandomName: Bump 0.9.1 ; Add 9999
Fixed ebuild to actually work with the projects Makefile instead of blasting its mechanics. Signed-Off-By: Sven Eden <sven.eden@gmx.de> Package-Manager: Portage-2.3.52, Repoman-2.3.12
Diffstat (limited to 'app-text/getRandomName/getRandomName-0.9.1.ebuild')
-rw-r--r--app-text/getRandomName/getRandomName-0.9.1.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/app-text/getRandomName/getRandomName-0.9.1.ebuild b/app-text/getRandomName/getRandomName-0.9.1.ebuild
new file mode 100644
index 0000000..a3d650f
--- /dev/null
+++ b/app-text/getRandomName/getRandomName-0.9.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Create random names using linguistic rules"
+HOMEPAGE="https://prydeworx.com/getRandomNames"
+SRC_URI="https://github.com/Yamakuzure/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="asan debug lsan tsan"
+
+REQUIRED_USE="
+ asan? ( debug )
+ lsan? ( debug )
+ tsan? ( debug )
+"
+
+COMMON_DEPEND="
+ dev-cpp/pwxlib
+"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+DOCS=()
+
+src_compile() {
+ PREFIX="${EPREFIX}"usr CXXFLAGS="${CXXFLAGS}" \
+ CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
+ CXX="$(tc-getCXX)" LD="$(tc-getCC)" \
+ DEBUG="$(usex debug YES NO)" \
+ SANITIZE_ADDRESS="$(usex asan YES NO)" \
+ SANITIZE_LEAK="$(usex lsan YES NO)" \
+ SANITIZE_THREAD="$(usex tsan YES NO)" \
+ emake || die "emake failed"
+}
+
+src_install() {
+ PREFIX="${EPREFIX}"usr DESTDIR="${D}" \
+ DOCDIR="${EPREFIX}"usr/share/doc/${PF} \
+ emake install || die "install failed"
+}