forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.13, Repoman-2.3.4
- Loading branch information
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST omake-0.10.2.tar.gz 2434316 SHA256 c454f20535d91082294b150beebde3d0542f52be81daed17211326f4efa4d6fe SHA512 22c454825287dd54272874ec3aa7c5a79f7eac79e18a3eefd4b2e90a08f9767307b0f627d71049a4c08776c85318ce096e89fcc5619d3ec78cc073744efd0fbd WHIRLPOOL 86078e22c975b03f48968e02722374be61f24f1df9b402eeac87d0305c73e1558f2d9b6e74e419a911f797e74dd330fee192591f695ff2bdfbcfa56a90372a4c | ||
DIST omake-0.10.3.tar.gz 2438877 SHA256 ff3107e9459615ea6526309c533b04815eef60692a20dcd3a6169f5860786d1d SHA512 77eb87b819048d7d9cb9b89a73c5f922ba3adc93f0d58536b3cfa20abdbf1d2a4c576b77921c52e8ea5f80171e8a503b573bf2a92b65fa0579f6492574079733 WHIRLPOOL 959b7f7285bcbd45670b478b092fc520c90bf151f25fa8785e114b74f4cecfc382921d7207b46ae384e93f001f28b6b75b8c3ddd72d7117aa65ca5f393927358 | ||
DIST omake-0.9.8.6-0.rc1.tar.gz 3254283 SHA256 23c498f071723621dd5e1e29c1abefd6937c73c67bb85d223fd514b9ae005ae9 SHA512 10a7ef6746c656d25852d408fafdd67a95acc59b73c892f0dbc316f2a01949b5349d5203c9fe2400cc7c05e14a7b1bc075603bd462ab74b60427d944f8e177d0 WHIRLPOOL d7da243aff8b6ff12f943db997bb644cfb88117b4deadb8ebea698537d864ede4084acc4afe7314a93eb24fa3a4092dbb24ecfb28cabff85c0214a03d89b44c6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=5 | ||
|
||
inherit toolchain-funcs multilib eutils | ||
|
||
RESTRICT="installsources" | ||
DESCRIPTION="Make replacement" | ||
HOMEPAGE="http://projects.camlcity.org/projects/omake.html" | ||
SRC_URI="http://download.camlcity.org/download/${P}.tar.gz" | ||
LICENSE="GPL-2" | ||
|
||
SLOT="0" | ||
KEYWORDS="~amd64 ~ppc ~x86" | ||
IUSE="doc fam ncurses +ocamlopt readline" | ||
DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?] | ||
ncurses? ( >=sys-libs/ncurses-5.3:0= ) | ||
fam? ( virtual/fam ) | ||
readline? ( >=sys-libs/readline-4.3:0= )" | ||
RDEPEND="${DEPEND}" | ||
|
||
src_prepare() { | ||
epatch \ | ||
"${FILESDIR}/${PN}-0.10.2-cflags.patch" | ||
} | ||
|
||
src_configure() { | ||
./configure \ | ||
-prefix "${EPREFIX}/usr" \ | ||
$(use readline || echo '-disable-readline') \ | ||
$(use ncurses || echo '-disable-ncurses' ) \ | ||
$(use fam || echo '-disable-fam' ) \ | ||
|| die | ||
} | ||
|
||
src_compile() { | ||
emake all | ||
} | ||
|
||
src_install() { | ||
emake INSTALL_ROOT="${D}" install | ||
dodoc ChangeLog CONTRIBUTORS.org README.md | ||
if use doc; then | ||
dodoc doc/ps/omake-doc.{pdf,ps} doc/txt/omake-doc.txt | ||
dohtml -r doc/html/* | ||
fi | ||
use ocamlopt || export STRIP_MASK="*/bin/*" | ||
} |