app-shells/ccsh: EAPI 6 bump.
authorPatrice Clement <monsieurp@gentoo.org>
Wed, 27 Apr 2016 08:45:18 +0000 (08:45 +0000)
committerPatrice Clement <monsieurp@gentoo.org>
Wed, 27 Apr 2016 08:45:46 +0000 (08:45 +0000)
Package-Manager: portage-2.2.26

app-shells/ccsh/ccsh-0.0.4-r3.ebuild
app-shells/ccsh/ccsh-0.0.4-r4.ebuild [new file with mode: 0644]

index 926a02b4672e7551648ccbe13a83fc5864633e4b..5ca3aa0e471bdf3e6d13106b0ea5ee2e13384634 100644 (file)
@@ -1,14 +1,14 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="4"
+EAPI=4
 
 inherit toolchain-funcs
 
 DESCRIPTION="UNIX Shell for people already familiar with the C language"
 HOMEPAGE="http://ccsh.sourceforge.net/"
-SRC_URI="http://download.sourceforge.net/ccsh/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/ccsh/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
diff --git a/app-shells/ccsh/ccsh-0.0.4-r4.ebuild b/app-shells/ccsh/ccsh-0.0.4-r4.ebuild
new file mode 100644 (file)
index 0000000..4055603
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="UNIX Shell for people already familiar with the C language"
+HOMEPAGE="http://ccsh.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ccsh/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~ppc64"
+IUSE=""
+
+src_compile() {
+       emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)"
+}
+
+src_install() {
+       exeinto /bin
+       doexe "${PN}"
+       newman "${PN}.man" "${PN}.1"
+       dodoc ChangeLog README TODO
+}