summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-11-30 23:15:06 +0000
committerAchim Gottinger <achim@gentoo.org>2000-11-30 23:15:06 +0000
commitb795ef40f29871a83d01839ee8ad432968396763 (patch)
treea61528cb587cc81b06df6960f98eafdf2f236a84 /sys-apps/console-tools
parentcute little gnome-vfs fix (diff)
downloadgentoo-2-b795ef40f29871a83d01839ee8ad432968396763.tar.gz
gentoo-2-b795ef40f29871a83d01839ee8ad432968396763.tar.bz2
gentoo-2-b795ef40f29871a83d01839ee8ad432968396763.zip
Prepared for rc3
Diffstat (limited to 'sys-apps/console-tools')
-rw-r--r--sys-apps/console-tools/console-tools-0.2.3-r2.ebuild35
1 files changed, 26 insertions, 9 deletions
diff --git a/sys-apps/console-tools/console-tools-0.2.3-r2.ebuild b/sys-apps/console-tools/console-tools-0.2.3-r2.ebuild
index 22083c157956..9ed043e32d99 100644
--- a/sys-apps/console-tools/console-tools-0.2.3-r2.ebuild
+++ b/sys-apps/console-tools/console-tools-0.2.3-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/console-tools/console-tools-0.2.3-r2.ebuild,v 1.1 2000/11/26 13:27:25 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/console-tools/console-tools-0.2.3-r2.ebuild,v 1.2 2000/11/30 23:14:32 achim Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}
@@ -9,28 +9,45 @@ DESCRIPTION="Console and font utilities"
SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/keyboards/${A}"
HOMEPAGE="http://altern.org/ydirson/en/lct/"
+DEPEND=">=sys-libs/glibc-2.1.3"
+RDEPEND="$DEPEND
+ >=sys-apps/bash-2.04"
+
src_unpack() {
unpack ${A}
cd ${S}
gzip -dc ${FILESDIR}/${PN}-${PV}.patch.gz | patch -p1
}
-src_compile() {
+src_compile() {
+
+ local myconf
+
+ if [ "$DEBUG" ]
+ then
+ myconf="--enable-debugging"
+ fi
+
try ./configure --prefix=/usr --host=${CHOST}
- mv Makefile Makefile.orig
- #building without documentation for now
- sed -e s/doc// Makefile.orig > Makefile
- try make all
+ try make $MAKEOPTS all
}
src_install() {
into /usr
cd ${S}
try make DESTDIR=${D} install
- strip ${D}/usr/bin/*
- strip --strip-unneeded ${D}/usr/lib/*.so.0.0.0
dodoc BUGS COPYING* CREDITS ChangeLog NEWS README RELEASE TODO
- gzip -9 ${D}/usr/man/man8/*.8
+ docinto txt
+ dodoc doc/*.txt doc/README.*
+ docinto sgml
+ dodoc doc/*.sgml
+ docinto txt/contrib
+ dodoc doc/contrib/*
+ docinto txt/dvorak
+ dodoc doc/dvorak/*
+ docinto txt/file-formats
+ dodoc doc/file-formats/*
+ doman doc/man/*.[1-8]
MOPREFIX="console-tools"
domo ${S}/po/*.gmo
}