summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2005-11-30 10:09:41 +0000
committerChris White <chriswhite@gentoo.org>2005-11-30 10:09:41 +0000
commit354cf9b5b38bae6093e79e23d53a9e6cf2566398 (patch)
tree686693ceef3276a4434d1b1164d4e2c1aa494be5 /app-misc/splitvt/splitvt-1.6.5.ebuild
parent(no commit message) (diff)
downloadgentoo-2-354cf9b5b38bae6093e79e23d53a9e6cf2566398.tar.gz
gentoo-2-354cf9b5b38bae6093e79e23d53a9e6cf2566398.tar.bz2
gentoo-2-354cf9b5b38bae6093e79e23d53a9e6cf2566398.zip
*** empty log message ***
Diffstat (limited to 'app-misc/splitvt/splitvt-1.6.5.ebuild')
-rw-r--r--app-misc/splitvt/splitvt-1.6.5.ebuild47
1 files changed, 21 insertions, 26 deletions
diff --git a/app-misc/splitvt/splitvt-1.6.5.ebuild b/app-misc/splitvt/splitvt-1.6.5.ebuild
index ca753afb98a4..bacad9b4d5c1 100644
--- a/app-misc/splitvt/splitvt-1.6.5.ebuild
+++ b/app-misc/splitvt/splitvt-1.6.5.ebuild
@@ -1,38 +1,33 @@
-# Copyright 1999-2001 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Ryan Tolboom <ryan@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/app-misc/splitvt/splitvt-1.6.5.ebuild,v 1.1 2001/02/11 19:31:58 ryan Exp $
-
-S=${WORKDIR}/splitvt-1.6.5
-SRC_URI="http://www.devolution.com/~slouken/projects/splitvt/splitvt-1.6.5.tar.gz"
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/splitvt/splitvt-1.6.5.ebuild,v 1.1.1.1 2005/11/30 10:05:44 chriswhite Exp $
+SRC_URI="http://www.devolution.com/~slouken/projects/${PN}/${P}.tar.gz"
HOMEPAGE="http://www.devolution.com/~slouken/projects/splitvt"
-
DESCRIPTION="A program for splitting terminals into two shells"
-DEPEND=">=sys-libs/glibc-2.1.3"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 sparc ppc"
+IUSE=""
-src_unpack() {
-
- unpack ${A}
- cd ${S}
- cp config.c config.orig
- cat config.orig | sed "s:/usr/local/bin:${D}/usr/bin:g" > config.c
+DEPEND=">=sys-libs/ncurses-5.2"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i "s:/usr/local/bin:${D}/usr/bin:g" config.c
}
-
-src_compile() {
-
- try ./configure
- try make
+src_compile() {
+ ./configure || die
+ sed -i -e "s:-O2:${CFLAGS}:" Makefile
+ make || die
}
src_install() {
-
- dodir /usr/bin
- try make install
- dodoc ANNOUNCE BLURB CHANGES NOTES README TODO
- doman splitvt.1
-
+ dodir /usr/bin
+ make install || die
+ dodoc ANNOUNCE BLURB CHANGES NOTES README TODO
+ doman splitvt.1
}