|
Lines 2-7
Link Here
|
| 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 |
# $Header: /var/cvsroot/gentoo-x86/app-text/bow/bow-20020213.ebuild,v 1.6 2005/01/01 16:04:18 eradicator Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/bow/bow-20020213.ebuild,v 1.6 2005/01/01 16:04:18 eradicator Exp $ |
| 4 |
|
4 |
|
|
|
5 |
inherit eutils |
| 6 |
|
| 5 |
DESCRIPTION="Bag of words library - Statistical language modeling, text retrieval, Classification and clustering" |
7 |
DESCRIPTION="Bag of words library - Statistical language modeling, text retrieval, Classification and clustering" |
| 6 |
HOMEPAGE="http://www-2.cs.cmu.edu/~mccallum/bow/" |
8 |
HOMEPAGE="http://www-2.cs.cmu.edu/~mccallum/bow/" |
| 7 |
SRC_URI="http://www-2.cs.cmu.edu/~mccallum/bow/src/${P}.tar.gz" |
9 |
SRC_URI="http://www-2.cs.cmu.edu/~mccallum/bow/src/${P}.tar.gz" |
|
Lines 13-22
Link Here
|
| 13 |
|
15 |
|
| 14 |
DEPEND="virtual/libc" |
16 |
DEPEND="virtual/libc" |
| 15 |
|
17 |
|
|
|
18 |
src_unpack() { |
| 19 |
unpack ${A} |
| 20 |
epatch ${FILESDIR}/${P}-gcc4.diff |
| 21 |
} |
| 22 |
|
| 16 |
src_compile() { |
23 |
src_compile() { |
| 17 |
econf --prefix=${D}/usr --datadir=${D}/usr/share || die |
24 |
econf --prefix=${D}/usr --datadir=${D}/usr/share || die |
| 18 |
} |
25 |
} |
| 19 |
|
26 |
|
| 20 |
src_install() { |
27 |
src_install() { |
| 21 |
make prefix=${D}/usr install |
28 |
make prefix=${D}/usr install |
|
|
29 |
rm ${D}/usr/include/argp.h |
| 22 |
} |
30 |
} |