summaryrefslogtreecommitdiff
path: root/dev-db/interbase/interbase-6.0.1.ebuild
authorMichael Krelin <hacker@klever.net>2007-02-22 12:41:51 (UTC)
committer Michael Krelin <hacker@klever.net>2007-02-22 12:41:51 (UTC)
commitc635d3cb954b32e415902447fd3e11f8d0d4e246 (patch) (side-by-side diff)
treece3db078f55cea38192f25c02f94a6a227f8b746 /dev-db/interbase/interbase-6.0.1.ebuild
parent508ed2f368975896283a00d513338faec393e8d9 (diff)
downloadmisc-c635d3cb954b32e415902447fd3e11f8d0d4e246.zip
misc-c635d3cb954b32e415902447fd3e11f8d0d4e246.tar.gz
misc-c635d3cb954b32e415902447fd3e11f8d0d4e246.tar.bz2
dev-db/interbase: x86 amd64 stable
Diffstat (limited to 'dev-db/interbase/interbase-6.0.1.ebuild') (more/less context) (ignore whitespace changes)
-rw-r--r--dev-db/interbase/interbase-6.0.1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-db/interbase/interbase-6.0.1.ebuild b/dev-db/interbase/interbase-6.0.1.ebuild
index 0677bae..f27d1a9 100644
--- a/dev-db/interbase/interbase-6.0.1.ebuild
+++ b/dev-db/interbase/interbase-6.0.1.ebuild
@@ -1,115 +1,115 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="Interbase database"
HOMEPAGE="http://www.borland.com/interbase/"
SRC_URI="ftp://ftpc.borland.com/pub/interbase/devsupport/open_source/InterBaseCS_LI-V${PV}.tar"
LICENSE="Interbase-1.0"
SLOT="0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="x86 amd64"
IUSE=""
DEPEND="
virtual/inetd
sys-libs/ncurses
amd64? ( app-emulation/emul-linux-x86-baselibs )
"
S="${WORKDIR}/${PN}"
pkg_setup() {
enewgroup interbase 451
enewuser interbase 451 /bin/bash /opt/interbase interbase
}
src_unpack() {
cd ${WORKDIR}
unpack ${A}
tar zxf InterBaseCS_LI-V*.tgz
}
src_install() {
dodoc Readme.txt ReleaseNotes.pdf license.html license.txt doc/How2GetDocs.txt
docinto examples
dodoc examples/*
insinto /opt/interbase/bin
doins bin/*
for f in ${D}/opt/interbase/bin/* ; do
mv ${f} ${f}.bin
ln -s ib.preload.wrapper ${f}
done
doins ${FILESDIR}/ib.preload.wrapper
chown interbase:interbase ${D}/opt/interbase/bin/*.bin
chmod ug=rx,o= ${D}/opt/interbase/bin/*.bin
chmod a=rx ${D}/opt/interbase/bin/ib.preload.wrapper
chmod a+rx ${D}/opt/interbase/bin/isql.bin
insinto /opt/interbase/lib
doins lib/*
if use amd64 ; then
dosym /lib32/libncurses.so.5 /opt/interbase/lib/libncurses.so.4
else
dosym /lib/libncurses.so.5 /opt/interbase/lib/libncurses.so.4
fi
dosym gds.so /opt/interbase/lib/libgds.so
insinto /opt/interbase/UDF
doins UDF/*
insinto /opt/interbase
doins interbase.msg services.isc
insinto /etc/interbase
doins isc4.gdb isc_config
dosym /etc/interbase/isc4.gdb /opt/interbase/isc4.gdb
dosym /etc/interbase/isc_config /opt/interbase/isc_config
chown interbase:interbase ${D}/etc/interbase/isc4.gdb
insinto /opt/interbase/include
doins include/*
insinto /opt/interbase/intl
doins intl/*
insinto /opt/interbase/help
doins help/*
insinto /etc/xinetd.d ; newins ${FILESDIR}/${PN}.xinetd interbase
insinto /etc/env.d ; doins ${FILESDIR}/70${PN}
}
pkg_postinst() {
einfo
einfo "Remember to run emerge --config =${PF}"
einfo
}
pkg_config() {
cd /opt/interbase
for l in isc_init1 isc_lock1 ; do
f=$i.`hostname`
touch $f
chown interbase:inerbase $f
chmod ug=rw,o= $f
done
if [ ! -h interbase.log ]
then
if [ -f interbase.log ]
then
mv interbase.log /var/log
else
touch /var/log/interbase.log
chown interbase:interbase /var/log/interbase.log
chmod ug=rw,o= /var/log/interbase.log
fi
# symlink the log to /var/log
ln -s /var/log/interbase.log interbase.log
fi
}