blob: 0eab110f0fbba1bd00a1155a3d539a032f14a1fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils toolchain-funcs versionator
# 2.10 -> 210s
MY_PN=JWasm
MY_PV="$(delete_version_separator 1)s"
MY_P="${MY_PN}${MY_PV}"
DESCRIPTION="MASM-compatible TASM-similar assembler (fork of Wasm)"
HOMEPAGE="https://sourceforge.net/projects/jwasm/"
SRC_URI="mirror://sourceforge/${PN}/JWasm%20Source%20Code/${MY_P}.zip"
LICENSE="Watcom-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=""
DEPEND=""
S="${WORKDIR}"
src_prepare() {
epatch "${FILESDIR}"/${PN}-2.11-types-test.patch
# don't strip binary
sed -i GccUnix.mak -e 's/ -s / /g' || die
}
src_compile() {
emake -f GccUnix.mak CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}"
}
src_install() {
dobin GccUnixR/jwasm
dodoc *.txt Doc/*.txt
}
|