dev-util/csup: EAPI 6 bump.
authorPatrice Clement <monsieurp@gentoo.org>
Sun, 11 Mar 2018 18:13:22 +0000 (19:13 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Sun, 11 Mar 2018 18:13:36 +0000 (19:13 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-util/csup/csup-20060318-r1.ebuild [new file with mode: 0644]

diff --git a/dev-util/csup/csup-20060318-r1.ebuild b/dev-util/csup/csup-20060318-r1.ebuild
new file mode 100644 (file)
index 0000000..4bd23eb
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="A rewrite of CVSup"
+HOMEPAGE="http://www.mu.org/~mux/csup.html"
+SRC_URI="http://mu.org/~mux/csup-snap-${PV}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+DEPEND="
+       sys-libs/zlib:0=
+       dev-libs/openssl:0="
+
+RDEPEND="
+       ${DEPEND}
+       !>=sys-freebsd/freebsd-ubin-6.2_beta1"
+
+DEPEND="
+       ${DEPEND}
+       >=sys-devel/bison-2.1"
+
+S="${WORKDIR}/${PN}"
+
+PATCHES=( "${FILESDIR}/${P}-respectflags.patch")
+
+src_compile() {
+       # unable to work with yacc, but bison is ok.
+       emake \
+               CC="$(tc-getCC)" \
+               PREFIX=/usr \
+               YACC=bison
+}
+
+src_install() {
+       dobin "${PN}"
+       doman "${PN}.1"
+       einstalldocs
+}