blob: 3f4123be7440f82ec018ed7f4aa53148f9b81ed7 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit toolchain-funcs
DESCRIPTION="TaskSpooler is a comfortable way of running batch jobs"
HOMEPAGE="http://vicerveza.homeunix.net/~viric/soft/ts/"
SRC_URI="http://vicerveza.homeunix.net/~viric/soft/ts/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
src_unpack() {
unpack ${A}
cd "${S}"
sed -i \
-e 's|CFLAGS=|CFLAGS+=|' \
-e 's|-g -O0||' \
Makefile || die "sed failed"
}
src_compile() {
emake CC=$(tc-getCC) || die "emake failed"
}
src_install() {
emake PREFIX="${D}/usr" install || die "install failed"
dodoc Changelog OBJECTIVES PORTABILITY PROTOCOL README TRICKS || die
}
src_test() {
PATH="${D}/usr/bin:${PATH}" ./testbench.sh || die "tests failed"
}
|