blob: 4928def7664e7f7e0d904c6d9a8d2359739d214a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/sqsh/sqsh-2.1.4.ebuild,v 1.1 2006/09/22 14:58:14 steev Exp $
inherit eutils
DESCRIPTION="Replacement for the venerable 'isql' program supplied by Sybase."
HOMEPAGE="http://sourceforge.net/projects/sqsh/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
mirror://gentoo/${PN}-2.1.3-autotools.patch.bz2"
LICENSE="GPL-2"
SLOT="0"
IUSE="readline X motif"
KEYWORDS="~x86 ~amd64 ~x86-fbsd"
DEPEND="dev-db/freetds
readline? ( sys-libs/readline )
X? ( || ( (
x11-libs/libXaw
x11-libs/libXt
x11-libs/libXext
x11-libs/libXmu
x11-libs/libX11 )
virtual/x11 ) )
motif? ( x11-libs/openmotif )
virtual/libc"
src_unpack() {
unpack ${A}; cd ${S}
epatch ${WORKDIR}/${PN}-2.1.3-autotools.patch
# Patch knicked from ports so that we don't pass -ldb when in a BSD
epatch ${FILESDIR}/${PN}-2.1.3-fbsd-configure.patch
}
src_compile() {
export SYBASE=/usr
local myconf
econf \
$(use_with readline) \
$(use_with X x) \
$(use_with motif) \
${myconf} || die
emake || die
}
src_install () {
einstall install.man || die
dodoc INSTALL README doc/*
}
|