blob: d88978b221750e20daafa3be4641df799416817e (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit eutils
DESCRIPTION="Main Memory Relational Database Management System"
HOMEPAGE="http://www.garret.ru/fastdb.html"
# SRC_URI="http://www.garret.ru/${P}.tar.gz"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="sys-devel/bison
sys-devel/flex
"
RDEPEND=""
S="${WORKDIR}/${PN}"
src_prepare() {
edos2unix "${S}/configure"
}
src_install() {
emake DESTDIR="${D}" install || die
mv "${ED}"usr/bin/subsql "${ED}"usr/bin/subsql-fdb || die "mv failed"
sed -i '/^#include "acconfig.h"/d' "${ED}"usr/include/${PN}/config.h \
|| die "sed failed"
#insinto /usr/include/${PN}
#doins inc/acconfig.h
dodoc CHANGES AUTHORS
dohtml FastDB.htm
}
pkg_postinst() {
elog "The subsql binary has been renamed to subsql-fdb,"
elog "to avoid a name clash with the GigaBase version of subsql"
}
|