summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom William Payne <twp@gentoo.org>2003-04-24 18:11:19 +0000
committerTom William Payne <twp@gentoo.org>2003-04-24 18:11:19 +0000
commitc2bcd70e3468c2bee2f58a4481373fb611703460 (patch)
tree4e4bbb6d64b7303944ada9de771e0a42e05a48f2 /dev-ruby
parentnotes on ppp-2.4.1-r13.ebuild (diff)
downloadhistorical-c2bcd70e3468c2bee2f58a4481373fb611703460.tar.gz
historical-c2bcd70e3468c2bee2f58a4481373fb611703460.tar.bz2
historical-c2bcd70e3468c2bee2f58a4481373fb611703460.zip
Touchups.
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/devel-logger/devel-logger-1.0.1.ebuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/dev-ruby/devel-logger/devel-logger-1.0.1.ebuild b/dev-ruby/devel-logger/devel-logger-1.0.1.ebuild
index f910d481b07c..d524abb01cb8 100644
--- a/dev-ruby/devel-logger/devel-logger-1.0.1.ebuild
+++ b/dev-ruby/devel-logger/devel-logger-1.0.1.ebuild
@@ -1,9 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/devel-logger/devel-logger-1.0.1.ebuild,v 1.1 2003/04/23 15:42:54 twp Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/devel-logger/devel-logger-1.0.1.ebuild,v 1.2 2003/04/24 18:11:19 twp Exp $
-MY_PV=`echo ${PV} | tr . _`
-MY_P=${PN}-${MY_PV}
+MY_P=${PN}-${PV//./_}
DESCRIPTION="Lightweight logging utility"
HOMEPAGE="http://rrr.jin.gr.jp/doc/devel-logger/"
SRC_URI="ftp://ftp.ruby-lang.org/pub/ruby/contrib/${MY_P}.tar.gz"
@@ -14,9 +13,7 @@ DEPEND=">=dev-lang/ruby-1.6"
S=${WORKDIR}/${MY_P}
src_install() {
- local sitelibdir=`ruby -r rbconfig -e 'print Config::CONFIG["sitelibdir"]'`
- insinto ${sitelibdir}
- doins lib/*.rb
- insinto ${sitelibdir}/devel
- doins lib/devel/*.rb
+ cp install.rb install.rb.orig
+ sed -e "s:^DSTPATH = :DSTPATH = \"${D}\" + \"/\" + :" install.rb.orig > install.rb
+ ruby install.rb || die
}