41 lines
898 B
Bash
41 lines
898 B
Bash
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=4
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="Main Memory Relational Database Management System"
|
|
HOMEPAGE="http://www.garret.ru/fastdb.html"
|
|
SRC_URI="http://www.garret.ru/${P}.tar.gz"
|
|
|
|
LICENSE="as-is"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE=""
|
|
|
|
DEPEND="sys-devel/bison
|
|
sys-devel/flex
|
|
"
|
|
RDEPEND=""
|
|
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
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"
|
|
}
|