/[gentoo-x86]/dev-db/freetds/freetds-0.82-r2.ebuild
Gentoo

Contents of /dev-db/freetds/freetds-0.82-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Oct 13 16:13:15 2008 UTC (5 years, 11 months ago) by hoffie
Branch: MAIN
fixing installation of docs, thanks to Diego Pettenò <flameeyes@gentoo.org> in bug 241268
(Portage version: 2.2_rc12/cvs/Linux 2.6.26-gentoo x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-db/freetds/freetds-0.82-r1.ebuild,v 1.1 2008/07/16 19:06:51 hoffie Exp $
4
5 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
6 DESCRIPTION="Tabular Datastream Library."
7 HOMEPAGE="http://www.freetds.org/"
8 SRC_URI="http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/${P}.tar.gz"
9 LICENSE="GPL-2"
10 SLOT="0"
11 IUSE="odbc mssql"
12 RESTRICT="test"
13
14 DEPEND="odbc? ( dev-db/unixODBC )"
15 RDEPEND="${DEPEND}"
16
17 src_compile() {
18 econf --with-tdsver=7.0 \
19 $(use_enable odbc) $(use odbc && echo --with-unixodbc=/usr) \
20 $(use_enable mssql msdblib) \
21 || die "econf failed"
22 emake || die "emake failed"
23 }
24
25 src_install() {
26 emake DESTDIR="${D}" DOCDIR="doc/${PF}" install || die "make install failed"
27 }

  ViewVC Help
Powered by ViewVC 1.1.20