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

EAPI=3

DESCRIPTION="DNA sequence quality and vector trimming tool"
HOMEPAGE="http://lucy.sourceforge.net/"
SRC_URI="http://sourceforge.net/projects/lucy/files/lucy/lucy%201.20/lucy1.20.tar.gz"

LICENSE="Artistic"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"

S="${WORKDIR}"/lucy-1.20p

src_prepare(){
	sed -i 's/^CC = cc/#CC = cc/' Makefile || die
	sed -i 's/^CFLAGS = -O/#CFLAGS = -O/' Makefile || die
}

src_compile(){
	emake || die "emake failed"
}

src_install(){
	dobin lucy || die "dobin failed"
	doman lucy.1 || die "doman failed"
	dodoc README.FIRST || die "dodoc failed"
}