Lines 2-8
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/dev-db/hk_classes/hk_classes-0.7.2-r1.ebuild,v 1.3 2005/02/25 02:08:58 weeve Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/hk_classes-0.7.2-r1.ebuild,v 1.3 2005/02/25 02:08:58 weeve Exp $ |
4 |
|
4 |
|
5 |
inherit eutils |
5 |
inherit eutils python |
6 |
|
6 |
|
7 |
P_DOCS="hk_docs-0.7" |
7 |
P_DOCS="hk_docs-0.7" |
8 |
|
8 |
|
Lines 35-42
Link Here
|
35 |
} |
35 |
} |
36 |
|
36 |
|
37 |
src_compile() { |
37 |
src_compile() { |
|
|
38 |
python_version |
38 |
myconf="$myconf `use_with mysql` `use_with postgres` `use_with odbc` `use_with sqlite` `use_with sqlite3`" |
39 |
myconf="$myconf `use_with mysql` `use_with postgres` `use_with odbc` `use_with sqlite` `use_with sqlite3`" |
39 |
|
40 |
myconf="$myconf --with-pythondir=/usr/lib/python${PYVER}/" |
|
|
41 |
export LIBPYTHON="-lpython${PYVER} -lz" |
40 |
econf $myconf || die "econf failed" |
42 |
econf $myconf || die "econf failed" |
41 |
emake || die |
43 |
emake || die |
42 |
} |
44 |
} |