Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=8d2cdba4059b3775c2cc6f264d26d61267b1c388
commit 8d2cdba4059b3775c2cc6f264d26d61267b1c388 Author: Priyank <[email protected]> Date: Mon Dec 22 11:24:01 2008 +0530 rigs-20060910-2-i686 * Moved to gnustep-extra diff --git a/source/gnustep-extra/rigs/FrugalBuild b/source/gnustep-extra/rigs/FrugalBuild new file mode 100644 index 0000000..976fc96 --- /dev/null +++ b/source/gnustep-extra/rigs/FrugalBuild @@ -0,0 +1,26 @@ +# Compiling Time: 0.01 SBU +# Maintainer: Priyank Gosalia <[email protected]> + +pkgname=rigs +pkgver=20060910 +pkgrel=2 +pkgdesc="GNUstep Ruby bridge" +makedepends=('gnustep-make>=2.0.6' 'gcc-objc') +depends=('libobjc' 'ruby' 'gnustep-base' 'gnustep-gui') +_F_gnustep_category="libs" +Finclude gnustep +groups=(${grou...@]} 'gnustep-libs') +archs=('i686') +up2date=$pkgver +source=(http://frugalware.org/~priyank/$pkgname-$pkgver.tar.bz2 ${pkgname}-install-rb.patch) +sha1sums=('959efff7bae8a80362fca9dec588e3a6ac84625c' \ + '1acf80ecf8ecfb9ae67c4ae8e67bbdc236100e5f') + +build() +{ + Fpatchall + Fgnustep_build +} + + +# optimization OK diff --git a/source/gnustep-extra/rigs/rigs-install-rb.patch b/source/gnustep-extra/rigs/rigs-install-rb.patch new file mode 100644 index 0000000..2389083 --- /dev/null +++ b/source/gnustep-extra/rigs/rigs-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/source/gnustep/rigs/FrugalBuild b/source/gnustep/rigs/FrugalBuild deleted file mode 100644 index a51d35b..0000000 --- a/source/gnustep/rigs/FrugalBuild +++ /dev/null @@ -1,29 +0,0 @@ -# Compiling Time: 0.01 SBU -# Maintainer: Priyank Gosalia <[email protected]> - -pkgname=rigs -pkgver=20060910 -pkgrel=1 -pkgdesc="GNUstep Ruby bridge" -makedepends=('gnustep-make>=2.0.6' 'gcc-objc') -depends=('libobjc' 'ruby' 'gnustep-base' 'gnustep-gui') -_F_gnustep_category="libs" -Finclude gnustep -groups=(${grou...@]} 'gnustep-libs') -archs=('i686') -up2date=$pkgver -source=(http://frugalware.org/~priyank/$pkgname-$pkgver.tar.bz2 ${pkgname}-install-rb.patch) -sha1sums=('959efff7bae8a80362fca9dec588e3a6ac84625c' \ - '1acf80ecf8ecfb9ae67c4ae8e67bbdc236100e5f') - -build() -{ - Fgnustepinit - Fcd - Fpatchall - make || Fdie - make DESTDIR=$Fdestdir install || Fdie -} - - -# optimization OK diff --git a/source/gnustep/rigs/rigs-install-rb.patch b/source/gnustep/rigs/rigs-install-rb.patch deleted file mode 100644 index 2389083..0000000 --- a/source/gnustep/rigs/rigs-install-rb.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- 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:: _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
