Lines 1-4
Link Here
|
1 |
# Copyright 1999-2013 Gentoo Foundation |
1 |
# Copyright 1999-2016 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Id$ |
3 |
# $Id$ |
4 |
|
4 |
|
Lines 13-27
Link Here
|
13 |
LICENSE="unafold" |
13 |
LICENSE="unafold" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
KEYWORDS="~amd64 ~x86" |
15 |
KEYWORDS="~amd64 ~x86" |
16 |
IUSE="custom-cflags" |
16 |
IUSE="custom-cflags +postscript" |
17 |
|
17 |
|
18 |
DEPEND="" |
18 |
DEPEND="postscript? ( >=sci-biology/mfold_util-4.7 )" |
19 |
RDEPEND="${DEPEND}" |
19 |
RDEPEND="${DEPEND}" |
20 |
|
20 |
|
21 |
src_prepare() { |
21 |
src_prepare() { |
22 |
# recommended in README |
22 |
# recommended in README |
23 |
use custom-cflags || append-flags -O3 |
23 |
use custom-cflags || append-flags -O3 |
24 |
|
24 |
|
|
|
25 |
# version was not updated upstream apparently |
25 |
sed \ |
26 |
sed \ |
26 |
-e 's:hybrid (UNAFold) 3.7:hybrid (UNAFold) 3.8:g' \ |
27 |
-e 's:hybrid (UNAFold) 3.7:hybrid (UNAFold) 3.8:g' \ |
27 |
-i tests/hybrid.tml || die |
28 |
-i tests/hybrid.tml || die |