diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2008-02-07 16:53:52 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2008-02-07 16:53:52 +0000 |
commit | 1a20903df0351e387f597444264be80b98a83fc5 (patch) | |
tree | 4a57ae275a37d386d533e30338b0cfeba5490fbc /gnustep-libs | |
parent | Added vim-syntax USE flag, bug #208399. (diff) | |
download | gentoo-2-1a20903df0351e387f597444264be80b98a83fc5.tar.gz gentoo-2-1a20903df0351e387f597444264be80b98a83fc5.tar.bz2 gentoo-2-1a20903df0351e387f597444264be80b98a83fc5.zip |
Version bump, cleaner ebuild, partially fixes bug #208643
(Portage version: 2.1.4.1)
Diffstat (limited to 'gnustep-libs')
-rw-r--r-- | gnustep-libs/rigs/ChangeLog | 8 | ||||
-rw-r--r-- | gnustep-libs/rigs/files/rigs-0.2.2.20061009-install-rb.patch | 30 | ||||
-rw-r--r-- | gnustep-libs/rigs/rigs-0.2.2.20061009.ebuild | 34 |
3 files changed, 71 insertions, 1 deletions
diff --git a/gnustep-libs/rigs/ChangeLog b/gnustep-libs/rigs/ChangeLog index 35150d6738a3..1a7cd1bcfe6a 100644 --- a/gnustep-libs/rigs/ChangeLog +++ b/gnustep-libs/rigs/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for gnustep-libs/rigs # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnustep-libs/rigs/ChangeLog,v 1.8 2008/01/30 01:40:27 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnustep-libs/rigs/ChangeLog,v 1.9 2008/02/07 16:53:51 voyageur Exp $ + +*rigs-0.2.2.20061009 (07 Feb 2008) + + 07 Feb 2008; Bernard Cafarelli <voyageur@gentoo.org> + +files/rigs-0.2.2.20061009-install-rb.patch, +rigs-0.2.2.20061009.ebuild: + Version bump, cleaner ebuild, partially fixes bug #208643 30 Jan 2008; Brent Baude <ranger@gentoo.org> rigs-0.2.2.20050714-r1.ebuild: diff --git a/gnustep-libs/rigs/files/rigs-0.2.2.20061009-install-rb.patch b/gnustep-libs/rigs/files/rigs-0.2.2.20061009-install-rb.patch new file mode 100644 index 000000000000..2389083e67b2 --- /dev/null +++ b/gnustep-libs/rigs/files/rigs-0.2.2.20061009-install-rb.patch @@ -0,0 +1,30 @@ +--- rigs-0.2.2.20061009.orig/Ruby/GNUmakefile 2008-02-07 17:18:20.000000000 +0100 ++++ rigs-0.2.2.20061009/Ruby/GNUmakefile 2008-02-07 17:34:30.000000000 +0100 +@@ -28,7 +28,7 @@ + + # Dynamically determine where the things must be installed + # in Ruby +-RUBY_SITE_LIB_DIR := $(shell ruby -rrbconfig -e 'print Config::CONFIG["sitelibdir"]') ++RUBY_SITE_LIB_DIR := ${DESTDIR}/$(shell ruby -rrbconfig -e 'print Config::CONFIG["sitelibdir"]') + + + after-install:: +@@ -37,4 +37,4 @@ + @cp -rf rigs $(RUBY_SITE_LIB_DIR) + + # Is there something more appropriate than tool.make here ? +-include $(GNUSTEP_MAKEFILES)/tool.make +\ Pas de fin de ligne à la fin du fichier. ++include $(GNUSTEP_MAKEFILES)/tool.make +--- rigs-0.2.2.20061009.orig/Source/GNUmakefile.postamble 2008-02-07 17:18:20.000000000 +0100 ++++ rigs-0.2.2.20061009/Source/GNUmakefile.postamble 2008-02-07 17:36:21.000000000 +0100 +@@ -41,7 +41,8 @@ + # Things to do after installing + # install the librigs.so in Ruby dir. + after-install:: +- @cp -f $(GNUSTEP_OBJ_DIR)/$(LIBRARY_NAME).so $(RUBY_SITE_ARCH_DIR) ++ @mkdir -p ${DESTDIR}/$(RUBY_SITE_ARCH_DIR) ++ @cp -f $(GNUSTEP_OBJ_DIR)/$(LIBRARY_NAME).so ${DESTDIR}/$(RUBY_SITE_ARCH_DIR) + + # Things to do before uninstalling + #before-uninstall:: diff --git a/gnustep-libs/rigs/rigs-0.2.2.20061009.ebuild b/gnustep-libs/rigs/rigs-0.2.2.20061009.ebuild new file mode 100644 index 000000000000..e6e2a394110f --- /dev/null +++ b/gnustep-libs/rigs/rigs-0.2.2.20061009.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-libs/rigs/rigs-0.2.2.20061009.ebuild,v 1.1 2008/02/07 16:53:51 voyageur Exp $ + +inherit gnustep-2 + +DESCRIPTION="Ruby Interface for GNUstep." +HOMEPAGE="http://www.gnustep.org/experience/RIGS.html" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +KEYWORDS="~amd64 ~ppc ~x86" +LICENSE="LGPL-2.1 GPL-2" +SLOT="0" + +DEPEND="dev-lang/ruby" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-install-rb.patch +} + +src_install() { + gnustep-base_src_install + + # install examples + if use doc; then + cd "${S}" + dodir ${GNUSTEP_SYSTEM_DOC}/RIGS + cp -pPR Examples "${D}"/${GNUSTEP_SYSTEM_DOC}/RIGS + fi +} |