summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-28 02:37:31 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-28 02:37:31 +0000
commit11813ab63da41f872490da54366f93f599196dd3 (patch)
tree5719e22477eec716b0a4d2297f7d239d1ee208e7 /app-misc/boxes
parentadded app-sci category (diff)
downloadgentoo-2-11813ab63da41f872490da54366f93f599196dd3.tar.gz
gentoo-2-11813ab63da41f872490da54366f93f599196dd3.tar.bz2
gentoo-2-11813ab63da41f872490da54366f93f599196dd3.zip
cleanup
Diffstat (limited to 'app-misc/boxes')
-rw-r--r--app-misc/boxes/boxes-1.0.1.ebuild30
1 files changed, 14 insertions, 16 deletions
diff --git a/app-misc/boxes/boxes-1.0.1.ebuild b/app-misc/boxes/boxes-1.0.1.ebuild
index 190f3713c124..e6e90de0e047 100644
--- a/app-misc/boxes/boxes-1.0.1.ebuild
+++ b/app-misc/boxes/boxes-1.0.1.ebuild
@@ -1,35 +1,33 @@
-# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Michael Conrad Tilstra <michael@gentoo.org> <tadpol@tadpol.org>
-# $Header: /var/cvsroot/gentoo-x86/app-misc/boxes/boxes-1.0.1.ebuild,v 1.3 2001/08/11 04:42:31 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/boxes/boxes-1.0.1.ebuild,v 1.4 2002/04/28 02:37:31 seemant Exp $
-A=${P}.src.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="boxes draws any kind of boxes around your text!"
-SRC_URI="ftp://metalab.unc.edu/pub/Linux/utils/text/${A}"
+SRC_URI="ftp://metalab.unc.edu/pub/Linux/utils/text/${P}.src.tar.gz"
HOMEPAGE="http://www6.informatik.uni-erlangen.de/~tsjensen/boxes/"
DEPEND="virtual/glibc"
src_unpack() {
- unpack ${A}
- cd ${S}
- try patch -p1 < ${FILESDIR}/${P}-gentoo.diff
- cd src
+ unpack ${A}
+ cd ${S}
+ patch -p1 < ${FILESDIR}/${P}-gentoo.diff
+ cd src
}
src_compile() {
- try make clean
- try make CFLAGS="$CFLAGS -I. -Iregexp"
+ make clean || die
+ make CFLAGS="$CFLAGS -I. -Iregexp" || die
}
src_install() {
- dobin src/boxes
- doman doc/boxes.1
- dodoc README* COPYING
- insinto /usr/share/boxes
- doins boxes-config
+ dobin src/boxes
+ doman doc/boxes.1
+ dodoc README* COPYING
+ insinto /usr/share/boxes
+ doins boxes-config
}
-