summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hallendal <hallski@gentoo.org>2001-11-10 12:17:54 +0000
committerMikael Hallendal <hallski@gentoo.org>2001-11-10 12:17:54 +0000
commit682f6b40aa02611430138e650a6e4f8075aaee1e (patch)
tree8eea9794bb8ee9b2959741cd607485c656c463c3 /dev-ruby/strscan
parentA=-fix, try->die, tab-fixes, stylefixes, ... (diff)
downloadhistorical-682f6b40aa02611430138e650a6e4f8075aaee1e.tar.gz
historical-682f6b40aa02611430138e650a6e4f8075aaee1e.tar.bz2
historical-682f6b40aa02611430138e650a6e4f8075aaee1e.zip
A=-fix, try->die, tab-fixes, stylefixes, ...
Diffstat (limited to 'dev-ruby/strscan')
-rw-r--r--dev-ruby/strscan/strscan-0.5.8.ebuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/dev-ruby/strscan/strscan-0.5.8.ebuild b/dev-ruby/strscan/strscan-0.5.8.ebuild
index 2d25f9bb88a0..b26f7a334bac 100644
--- a/dev-ruby/strscan/strscan-0.5.8.ebuild
+++ b/dev-ruby/strscan/strscan-0.5.8.ebuild
@@ -1,26 +1,24 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Jerry Alexandratos <jerry@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/strscan/strscan-0.5.8.ebuild,v 1.2 2001/01/16 17:13:14 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/strscan/strscan-0.5.8.ebuild,v 1.3 2001/11/10 12:17:54 hallski Exp $
-A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Fast string scanning library for Ruby"
-SRC_URI="http://www1.u-netsurf.ne.jp/~brew/mine/soft/${A}"
+SRC_URI="http://www1.u-netsurf.ne.jp/~brew/mine/soft/${P}.tar.gz"
HOMEPAGE="http://www1.u-netsurf.ne.jp/~brew/mine/en/index.html"
DEPEND=">=dev-lang/ruby-1.6.1
>=dev-ruby/amstd-1.9.5"
src_compile() {
- cd ${S}
- try ruby setup.rb config --without=amstd
- try ruby setup.rb setup
+ ruby setup.rb config --without=amstd || die
+ ruby setup.rb setup || die
}
src_install () {
- cd ${S}
- try ruby setup.rb install --bin-dir=${D}/usr/bin \
- --rb-dir=${D}/usr/lib/ruby/site_ruby/1.6 \
- --so-dir=${D}/usr/lib/ruby/site_ruby/1.6/${CHOST%%-*}-linux-gnu
+ ruby setup.rb install --bin-dir=${D}/usr/bin \
+ --rb-dir=${D}/usr/lib/ruby/site_ruby/1.6 \
+ --so-dir=${D}/usr/lib/ruby/site_ruby/1.6/${CHOST%%-*}-linux-gnu
+ assert
}