summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-04-16 02:21:38 +0000
committerMike Frysinger <vapier@gentoo.org>2004-04-16 02:21:38 +0000
commit36ee1596230e342a4a6f1a3bc58bc163fa07d29a (patch)
treeb9c9190057524bdb821573af560966c83ea5e791 /dev-db/unixODBC
parentadd inherit eutils (diff)
downloadgentoo-2-36ee1596230e342a4a6f1a3bc58bc163fa07d29a.tar.gz
gentoo-2-36ee1596230e342a4a6f1a3bc58bc163fa07d29a.tar.bz2
gentoo-2-36ee1596230e342a4a6f1a3bc58bc163fa07d29a.zip
add inherit eutils
Diffstat (limited to 'dev-db/unixODBC')
-rw-r--r--dev-db/unixODBC/unixODBC-2.2.2.ebuild18
-rw-r--r--dev-db/unixODBC/unixODBC-2.2.6-r1.ebuild33
2 files changed, 28 insertions, 23 deletions
diff --git a/dev-db/unixODBC/unixODBC-2.2.2.ebuild b/dev-db/unixODBC/unixODBC-2.2.2.ebuild
index 8dccc9ddd7ab..55c829b715b9 100644
--- a/dev-db/unixODBC/unixODBC-2.2.2.ebuild
+++ b/dev-db/unixODBC/unixODBC-2.2.2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/unixODBC/unixODBC-2.2.2.ebuild,v 1.14 2004/03/23 09:15:10 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/unixODBC/unixODBC-2.2.2.ebuild,v 1.15 2004/04/16 02:20:14 vapier Exp $
+
+inherit eutils
DESCRIPTION="ODBC Interface for Linux"
HOMEPAGE="http://www.unixodbc.org/"
@@ -28,17 +30,17 @@ src_unpack() {
src_compile() {
local myconf
-
- if use qt; then
+ if use qt ; then
myconf="--enable-gui=yes"
else
myconf="--enable-gui=no"
fi
- ./configure --host=${CHOST} \
- --prefix=/usr \
- --sysconfdir=/etc/unixODBC \
- ${myconf} || die
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --sysconfdir=/etc/unixODBC \
+ ${myconf} || die
make || die
}
@@ -46,7 +48,7 @@ src_compile() {
src_install() {
make DESTDIR=${D} install || die
- dodoc AUTHORS COPYING ChangeLog NEWS README*
+ dodoc AUTHORS ChangeLog NEWS README*
find doc/ -name "Makefile*" -exec rm '{}' \;
dohtml doc/*
prepalldocs
diff --git a/dev-db/unixODBC/unixODBC-2.2.6-r1.ebuild b/dev-db/unixODBC/unixODBC-2.2.6-r1.ebuild
index 7dd340e2136e..8bff5b48c165 100644
--- a/dev-db/unixODBC/unixODBC-2.2.6-r1.ebuild
+++ b/dev-db/unixODBC/unixODBC-2.2.6-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/unixODBC/unixODBC-2.2.6-r1.ebuild,v 1.4 2004/03/23 09:15:10 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/unixODBC/unixODBC-2.2.6-r1.ebuild,v 1.5 2004/04/16 02:21:04 vapier Exp $
+
+inherit eutils
DESCRIPTION="ODBC Interface for Linux"
HOMEPAGE="http://www.unixodbc.org/"
@@ -22,7 +24,7 @@ src_unpack() {
unpack ${P}.tar.gz
cd ${S}
-# braindead check in configure fails - hack approach
+ # braindead check in configure fails - hack approach
epatch ${FILESDIR}/${P}-configure.in.patch
autoconf || die "autoconf failed"
@@ -31,27 +33,28 @@ src_unpack() {
src_compile() {
local myconf
- if [ "`use qt`" ]
- then
+ if use qt ; then
myconf="--enable-gui=yes"
else
myconf="--enable-gui=no"
fi
- ./configure --host=${CHOST} \
- --prefix=/usr \
- --sysconfdir=/etc/unixODBC \
- ${myconf} || die
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --sysconfdir=/etc/unixODBC \
+ ${myconf} || die
make || die
- if [ "`use gnome`" ]
+ if use gnome
then
cd gODBCConfig
- ./configure --host=${CHOST} \
- --prefix=/usr \
- --sysconfdir=/etc/unixODBC \
- ${myconf} || die
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --sysconfdir=/etc/unixODBC \
+ ${myconf} || die
# not sure why these symlinks are needed. busted configure, i guess...
ln -s ../depcomp .
@@ -64,14 +67,14 @@ src_compile() {
src_install() {
make DESTDIR=${D} install || die
- if [ "`use gnome`" ]
+ if use gnome
then
cd gODBCConfig
make DESTDIR=${D} install || die
cd ..
fi
- dodoc AUTHORS COPYING ChangeLog NEWS README*
+ dodoc AUTHORS ChangeLog NEWS README*
find doc/ -name "Makefile*" -exec rm '{}' \;
dohtml doc/*
prepalldocs