Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=5e292428af4eca6d5b7e2488d13b9b1b141737e6
commit 5e292428af4eca6d5b7e2488d13b9b1b141737e6 Author: Priyank <[email protected]> Date: Sun Dec 21 01:00:46 2008 +0530 rigs-20060910-1-i686 * New package / Initial import diff --git a/source/gnustep/rigs/FrugalBuild b/source/gnustep/rigs/FrugalBuild new file mode 100644 index 0000000..a51d35b --- /dev/null +++ b/source/gnustep/rigs/FrugalBuild @@ -0,0 +1,29 @@ +# 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 new file mode 100644 index 0000000..2389083 --- /dev/null +++ b/source/gnustep/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:: _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
