blob: f1b7b96641fef99b8372d12a95b28426dff23a2a (
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
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils multilib toolchain-funcs
DESCRIPTION="A generic Tcl interface to SQL databases"
HOMEPAGE="http://www.parand.com/tcl-sql/"
SRC_URI="mirror://sourceforge/tcl-sql/${PN}-${PV}.tgz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="
dev-lang/tcl:0=
virtual/mysql"
RDEPEND="${DEPEND}"
S="${WORKDIR}"/${PN}
src_prepare() {
find . -type f -exec chmod 644 '{}' \; || die
epatch \
"${FILESDIR}"/fix-const.patch \
"${FILESDIR}"/ldflags.patch
tc-export CXX
}
src_install() {
exeinto /usr/$(get_libdir)/${P}
doexe sql.so
dodoc CHANGES.txt CODE_DESCRIPTION.txt docs/sample.full.txt docs/sample.simple.txt
dohtml README.html docs/api.html
}
|