[csw-devel] SF.net SVN: gar:[19607] csw/mgar/pkg/aspell/trunk

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Sat Nov 10 17:05:35 CET 2012


Revision: 19607
          http://gar.svn.sourceforge.net/gar/?rev=19607&view=rev
Author:   chninkel
Date:     2012-11-10 16:05:35 +0000 (Sat, 10 Nov 2012)
Log Message:
-----------
aspell/trunk: updated the aspell recipe to be able to upload a new package

Modified Paths:
--------------
    csw/mgar/pkg/aspell/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/aspell/trunk/files/0001-norunpath-option.patch
    csw/mgar/pkg/aspell/trunk/files/changelog.CSW

Modified: csw/mgar/pkg/aspell/trunk/Makefile
===================================================================
--- csw/mgar/pkg/aspell/trunk/Makefile	2012-11-10 15:51:49 UTC (rev 19606)
+++ csw/mgar/pkg/aspell/trunk/Makefile	2012-11-10 16:05:35 UTC (rev 19607)
@@ -8,20 +8,63 @@
 
 DESCRIPTION = Spell checker
 define BLURB
-  Long description
+  The GNU spell checker (core package only, no dictionary)
 endef
 
-MASTER_SITES = ftp://ftp.gnu.org/gnu/aspell/
+PACKAGES = CSWaspell 
+
+SPKG_DESC_CSWaspell = The GNU spell checker (binaries)
+RUNTIME_DEP_PKGS_CSWaspell  = CSWlibaspell15
+RUNTIME_DEP_PKGS_CSWaspell += CSWlibncursesw5 
+RUNTIME_DEP_PKGS_CSWaspell += CSWlibintl8
+
+CHECKPKG_OVERRIDES_CSWaspell += file-with-bad-content|/usr/local|root/opt/csw/share/info/aspell.info
+CHECKPKG_OVERRIDES_CSWaspell += file-with-bad-content|/usr/share|root/opt/csw/share/info/aspell.info
+
+PACKAGES += CSWlibaspell15
+SPKG_DESC_CSWlibaspell15 = The GNU spell checker (libraries)
+PKGFILES_CSWlibaspell15  = $(call pkgfiles_lib,libaspell.so.15)
+PKGFILES_CSWlibaspell15 += $(call pkgfiles_lib,libpspell.so.15)
+PKGFILES_CSWlibaspell15 += $(libdir)/aspell/.*
+PKGFILES_CSWlibaspell15 += $(docdir)/libaspell15/.* 
+RUNTIME_DEP_PKGS_CSWlibaspell15 += CSWlibintl8
+
+# We want to keep pspell library in aspell package
+CHECKPKG_OVERRIDES_CSWlibaspell15 += shared-lib-pkgname-mismatch|file=opt/csw/lib/libpspell.so.15.1.5|soname=libpspell.so.15|pkgname=CSWlibaspell15|expected=CSWlibpspell15
+
+PACKAGES += CSWlibaspell-dev
+
+SPKG_DESC_CSWlibaspell-dev = The GNU spell checker (developpement files)
+PKGFILES_CSWlibaspell-dev  = $(PKGFILES_DEVEL)
+PKGFILES_CSWlibaspell-dev += $(docdir)/libaspell-dev/.* 
+RUNTIME_DEP_PKGS_CSWlibaspell-dev = CSWlibaspell15
+
+MASTER_SITES = $(GNU_MIRROR)
 DISTFILES  = $(DISTNAME).tar.gz
+DISTFILES += changelog.CSW
 
-EXTRA_LDFLAGS = -lm
+# We have to patch ltmain.sh script generated by libtool
+# to make sure the "-norunpath" option is passed to the linker
+PATCHFILES = 0001-norunpath-option.patch
 
+DOCFILES = TODO
+
+PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
+
+EXTRA_LINKER_FLAGS = -lm -norunpath
+
 CONFIGURE_ARGS = $(DIRPATHS)
 
-RUNTIME_DEP_PKGS_CSWaspell += CSWlibintl8
-RUNTIME_DEP_PKGS_CSWaspell += CSWlibncursesw5
 
-CHECKPKG_OVERRIDES_CSWaspell += file-with-bad-content
-CHECKPKG_OVERRIDES_CSWaspell += bad-rpath-entry
 
 include gar/category.mk
+
+
+merge-doc:
+	for CATALOGNAME in $(foreach PKG, $(PACKAGES), $(call catalogname,$(PKG))); do \
+                ginstall -d $(PKGROOT)/$(docdir)/$$CATALOGNAME; \
+                (cd $(DOWNLOADDIR)/ && ginstall -m 0644 changelog.CSW $(PKGROOT)/$(docdir)/$$CATALOGNAME/); \
+                (cd $(WORKSRC_FIRSTMOD)/ && ginstall -m 0644 $(DOCFILES) $(PKGROOT)/$(docdir)/$$CATALOGNAME/); \
+        done
+	@$(MAKECOOKIE)
+

Added: csw/mgar/pkg/aspell/trunk/files/0001-norunpath-option.patch
===================================================================
--- csw/mgar/pkg/aspell/trunk/files/0001-norunpath-option.patch	                        (rev 0)
+++ csw/mgar/pkg/aspell/trunk/files/0001-norunpath-option.patch	2012-11-10 16:05:35 UTC (rev 19607)
@@ -0,0 +1,25 @@
+From 02f0accdecc8a273e19e184035f99b22153b3b0a Mon Sep 17 00:00:00 2001
+From: Yann Rouillard <yann at pleiades.fr.eu.org>
+Date: Sat, 10 Nov 2012 13:55:53 +0100
+Subject: [PATCH] Path libtool ltmain.sh to add norunpath option
+
+---
+ ltmain.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ltmain.sh b/ltmain.sh
+index a8b3f1c..397b89c 100755
+--- a/ltmain.sh
++++ b/ltmain.sh
+@@ -4214,7 +4214,7 @@ func_mode_link ()
+       # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
+       # @file GCC response files
+       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
+-      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
++      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-norunpath)
+         func_quote_for_eval "$arg"
+ 	arg="$func_quote_for_eval_result"
+         func_append compile_command " $arg"
+-- 
+1.8.0
+

Added: csw/mgar/pkg/aspell/trunk/files/changelog.CSW
===================================================================
--- csw/mgar/pkg/aspell/trunk/files/changelog.CSW	                        (rev 0)
+++ csw/mgar/pkg/aspell/trunk/files/changelog.CSW	2012-11-10 16:05:35 UTC (rev 19607)
@@ -0,0 +1,7 @@
+aspell (0.60.6.1,REV=2012.11.10) unstable
+
+  * Created a GAR recipe for aspell.
+
+ -- Yann Rouillard <yann at opencsw.org>  Sat, 10 Nov 2012 16:35:05 +0100
+
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list