Lines 3-9
Link Here
|
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/unixODBC/unixODBC-2.3.2.ebuild,v 1.1 2013/12/31 18:30:45 neurogeek Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/unixODBC/unixODBC-2.3.2.ebuild,v 1.1 2013/12/31 18:30:45 neurogeek Exp $ |
4 |
|
4 |
|
5 |
EAPI=5 |
5 |
EAPI=5 |
6 |
inherit libtool |
6 |
inherit libtool autotools-multilib eutils |
7 |
|
7 |
|
8 |
DESCRIPTION="A complete ODBC driver manager" |
8 |
DESCRIPTION="A complete ODBC driver manager" |
9 |
HOMEPAGE="http://www.unixodbc.org/" |
9 |
HOMEPAGE="http://www.unixodbc.org/" |
Lines 14-47
Link Here
|
14 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
14 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
15 |
IUSE="+minimal odbcmanual static-libs unicode" |
15 |
IUSE="+minimal odbcmanual static-libs unicode" |
16 |
|
16 |
|
17 |
RDEPEND=">=sys-devel/libtool-2.2.6b |
17 |
RDEPEND=">=sys-devel/libtool-2.2.6b[${MULTILIB_USEDEP}] |
18 |
>=sys-libs/readline-6.1 |
18 |
>=sys-libs/readline-6.1[${MULTILIB_USEDEP}] |
19 |
>=sys-libs/ncurses-5.7-r7 |
19 |
>=sys-libs/ncurses-5.7-r7[${MULTILIB_USEDEP}] |
20 |
virtual/libiconv" |
20 |
virtual/libiconv[${MULTILIB_USEDEP}] |
|
|
21 |
abi_x86_32? ( !app-emulation/emul-linux-x86-db[-abi_x86_32(-)] )" |
21 |
DEPEND="${RDEPEND} |
22 |
DEPEND="${RDEPEND} |
22 |
sys-devel/flex" |
23 |
sys-devel/flex" |
23 |
|
24 |
|
24 |
DOCS="AUTHORS ChangeLog NEWS README" |
25 |
DOCS="AUTHORS ChangeLog NEWS README" |
25 |
|
26 |
MULTILIB_WRAPPED_HEADERS=( /usr/include/unixodbc_conf.h ) |
26 |
src_prepare() { |
|
|
27 |
elibtoolize |
28 |
} |
29 |
|
27 |
|
30 |
src_configure() { |
28 |
src_configure() { |
31 |
# --enable-driver-conf is --enable-driverc as per configure.in |
29 |
# --enable-driver-conf is --enable-driverc as per configure.in |
32 |
econf \ |
30 |
myeconfargs=( |
33 |
--sysconfdir="${EPREFIX}"/etc/${PN} \ |
31 |
--sysconfdir="${EPREFIX}"/etc/${PN} |
34 |
--enable-iconv \ |
32 |
--enable-iconv |
35 |
$(use_enable static-libs static) \ |
33 |
$(use_enable static-libs static) |
36 |
$(use_enable !minimal drivers) \ |
34 |
$(use_enable !minimal drivers) |
37 |
$(use_enable !minimal driverc) \ |
35 |
$(use_enable !minimal driverc) |
38 |
$(use_with unicode iconv-char-enc UTF8) \ |
36 |
$(use_with unicode iconv-char-enc UTF8) |
39 |
$(use_with unicode iconv-ucode-enc UTF16LE) |
37 |
$(use_with unicode iconv-ucode-enc UTF16LE) |
|
|
38 |
) |
39 |
autotools-multilib_src_configure |
40 |
} |
40 |
} |
41 |
|
41 |
|
42 |
src_install() { |
42 |
multilib_src_install_all() { |
43 |
default |
43 |
einstalldocs |
44 |
use prefix && dodoc README* |
44 |
use prefix && dodoc README* |
45 |
use odbcmanual && dohtml -a css,gif,html,sql,vsd -r doc/* |
45 |
use odbcmanual && dohtml -a css,gif,html,sql,vsd -r doc/* |
46 |
|
46 |
|