summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyen Thai Ngoc Duy <pclouds@gentoo.org>2007-01-21 08:23:29 +0000
committerNguyen Thai Ngoc Duy <pclouds@gentoo.org>2007-01-21 08:23:29 +0000
commit890afd2b97eb9fa438f24c10c505798edc7452db (patch)
tree17c47e23f424e0f2bb8e352e0aecef79a4ab08ec /dev-ruby/wxruby
parentAdded examples use flag to ebuild, #145222 (diff)
downloadgentoo-2-890afd2b97eb9fa438f24c10c505798edc7452db.tar.gz
gentoo-2-890afd2b97eb9fa438f24c10c505798edc7452db.tar.bz2
gentoo-2-890afd2b97eb9fa438f24c10c505798edc7452db.zip
Added examples use flag to ebuild, #145222
(Portage version: 2.1.2_rc4-r5)
Diffstat (limited to 'dev-ruby/wxruby')
-rw-r--r--dev-ruby/wxruby/ChangeLog6
-rw-r--r--dev-ruby/wxruby/wxruby-0.4.0.ebuild8
2 files changed, 9 insertions, 5 deletions
diff --git a/dev-ruby/wxruby/ChangeLog b/dev-ruby/wxruby/ChangeLog
index ceb4b16c0eb2..bd236fbb04ca 100644
--- a/dev-ruby/wxruby/ChangeLog
+++ b/dev-ruby/wxruby/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/wxruby
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/wxruby/ChangeLog,v 1.15 2007/01/04 20:27:13 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/wxruby/ChangeLog,v 1.16 2007/01/21 08:23:29 pclouds Exp $
+
+ 21 Jan 2007; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
+ wxruby-0.4.0.ebuild:
+ Added examples use flag to ebuild, #145222
04 Jan 2007; Saleem Abdulrasool <compnerd@gentoo.org>
wxruby-0.6-r1.ebuild:
diff --git a/dev-ruby/wxruby/wxruby-0.4.0.ebuild b/dev-ruby/wxruby/wxruby-0.4.0.ebuild
index 692a87ef476d..1b1bdf983a26 100644
--- a/dev-ruby/wxruby/wxruby-0.4.0.ebuild
+++ b/dev-ruby/wxruby/wxruby-0.4.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/wxruby/wxruby-0.4.0.ebuild,v 1.6 2005/03/03 18:51:35 pythonhead Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/wxruby/wxruby-0.4.0.ebuild,v 1.7 2007/01/21 08:23:29 pclouds Exp $
MY_P="${PN}-${PV}-src"
DESCRIPTION="Ruby language bindings for the wxWidgets GUI toolkit"
@@ -9,7 +9,7 @@ SRC_URI="http://rubyforge.org/frs/download.php/769/${MY_P}.tgz"
LICENSE="wxWinLL-3"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc"
-IUSE="unicode"
+IUSE="examples unicode"
DEPEND=">=dev-lang/ruby-1.8
=x11-libs/wxGTK-2.4*"
S=${WORKDIR}/${MY_P}
@@ -24,6 +24,6 @@ src_compile() {
src_install() {
dodoc [A-Z]*
- cp -r samples ${D}/usr/share/doc/${PF}
+ use examples && cp -r samples ${D}/usr/share/doc/${PF}
( cd src && make DESTDIR=${D} install )
}