summaryrefslogtreecommitdiff
blob: 04e0a57e447f349b911aea817b929e8731e80c4b (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit  toolchain-funcs

DESCRIPTION="Optimizing brainfuck compiler written in brainfuck for Linux on i386."
HOMEPAGE="http://www.nada.kth.se/~matslina/awib/"
SRC_URI="http://www.helch.ch/gentoo/distfiles/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND=""

src_compile() {
	$(tc-getCC) ${CFLAGS} -o awib awib.c || die "awib compile failed!"
	$(tc-getCC) ${CFLAGS} -o wib wib.c || die "wib compile failed!"
}

src_install() {
	dobin awib wib
	dodoc awib.b wib.b
}