Platform

The main Radix cross Linux repository contains build scripts of the GNU/Linux distribution.

809 Commits   5 Branches   3 Tags   |
Index: dict/words-ca/2.1.5-1/Makefile
===================================================================
--- dict/words-ca/2.1.5-1/Makefile	(nonexistent)
+++ dict/words-ca/2.1.5-1/Makefile	(revision 76)
@@ -0,0 +1,168 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/aspell/ca
+
+REQUIRES            = base/pkgtool
+
+
+version             = 2.1.5-1
+tar_bz2_archive     = $(SRC_PACKAGE_PATH)/dict/aspell/ca/aspell6-ca-2.1.5-1.tar.bz2
+SRC_ARCHIVE         = $(tar_bz2_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/aspell6-ca-2.1.5-1
+doc_dir_name        = words-ca-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-ca
+WORDS_PKG_VERSION             = 2.1.5-1
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-ca $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = GPLv2
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-install.sh
+WORDS_PKG_INSTALL_SCRIPT_IN   = $(WORDS_PKG_NAME)-pkg-install.sh.in
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+language  = Catalan
+spelling  = catalan
+wordlist  = catala
+country   = Catalonia
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   mkdir -p built ; \
+	   cat $(man_page_template) | sed -e "s/@WORDLIST@/$(spelling)/g" | \
+	                              sed -e "s/@LANGUAGE@/$(language)/g" > built/$(spelling).5 ; \
+	   preunzip *.cwl ; \
+	   for wl in *.wl ; do \
+	     iconv --from-code=ISO-8859-1 --to-code=UTF-8 $$wl | \
+	     cut -d '/' -f 1 > $$wl.utf8 ; \
+	   done ; \
+	   rm *.wl ; \
+	   cat ca-*.wl.utf8 | sort -u > built/$(wordlist) ; \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR)/built ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR)/built ; \
+	   cat $(spelling).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(spelling).5.gz ; \
+	 )
+	# ======= Aspell Dictionaries Documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/COPYING $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)
+	@( cd $(SRC_DIR) ; \
+	   cp -a COPYING Copyright README \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	@( cd $(SRC_DIR)/doc ; \
+	   if [ -r ChangeLog ]; then \
+	     DOCSDIR=`echo $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)` ; \
+	     cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
+	     touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
+	   fi \
+	 )
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@LANGUAGE@/$(language)/g" | \
+	          $(SED) -e "s/@COUNTRY@/$(country)/g"   | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g"   > $@
+
+$(WORDS_PKG_INSTALL_SCRIPT): $(WORDS_PKG_INSTALL_SCRIPT_IN)
+	@cat $< | $(SED) -e "s/@WORDLIST@/$(wordlist)/g" | \
+	          $(SED) -e "s/@SPELLING@/$(spelling)/g"   > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-ca/2.1.5-1/PATCHES
===================================================================
Index: dict/words-ca/2.1.5-1/man/wordlist.5.in
===================================================================
--- dict/words-ca/2.1.5-1/man/wordlist.5.in	(nonexistent)
+++ dict/words-ca/2.1.5-1/man/wordlist.5.in	(revision 76)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of @LANGUAGE@ words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This @LANGUAGE@ word lists are built from the Official Dictionaries found at
+.IB ftp://ftp.gnu.org/gnu/aspell/dict/0index.html
+for Aspell 0.60.
Index: dict/words-ca/2.1.5-1/words-ca-pkg-description.in
===================================================================
--- dict/words-ca/2.1.5-1/words-ca-pkg-description.in	(nonexistent)
+++ dict/words-ca/2.1.5-1/words-ca-pkg-description.in	(revision 76)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+        |-----handy-ruler------------------------------------------------------|
+words-ca: words-ca @VERSION@ (@LANGUAGE@ wordlist)
+words-ca:
+words-ca: This package provides the /usr/share/dict/@WORDLIST@
+words-ca: file containing a list of @LANGUAGE@ words with @COUNTRY@ and
+words-ca: Valencia spelling.
+words-ca:
+words-ca: This list can be used by spelling checkers, and by programs
+words-ca: such as look(1).
+words-ca:
+words-ca:
+words-ca:
Index: dict/words-ca/2.1.5-1/words-ca-pkg-install.sh.in
===================================================================
--- dict/words-ca/2.1.5-1/words-ca-pkg-install.sh.in	(nonexistent)
+++ dict/words-ca/2.1.5-1/words-ca-pkg-install.sh.in	(revision 76)
@@ -0,0 +1,61 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  ( cd usr/share/dict
+    if [ ! -L "@SPELLING@" -o ! -f "`readlink @SPELLING@`" ] ; then
+      ln -sf @WORDLIST@ @SPELLING@
+    fi
+  )
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  ( cd usr/share/dict
+    if [ -L "@SPELLING@" -a ! -f "`readlink @SPELLING@`" ] ; then
+      rm -f @SPELLING@
+    fi
+  )
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-ca/2.1.5-1/words-ca-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-de/2.1/Makefile
===================================================================
--- dict/words-de/2.1/Makefile	(nonexistent)
+++ dict/words-de/2.1/Makefile	(revision 76)
@@ -0,0 +1,169 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/aspell/de
+SOURCE_REQUIRES    += sources/dict/aspell/de-alt
+
+REQUIRES            = base/pkgtool
+
+
+version             = 2.1
+tar_bz2_archive     = $(SRC_PACKAGE_PATH)/dict/aspell/de/aspell6-de-20030222-1.tar.bz2
+SRC_ARCHIVE         = $(tar_bz2_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/aspell6-de-20030222-1
+doc_dir_name        = words-de-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+tar_bz2_alt_archive = $(SRC_PACKAGE_PATH)/dict/aspell/de-alt/aspell6-de-alt-2.1-1.tar.bz2
+alt_src_dir         = $(TARGET_BUILD_DIR)/aspell6-de-alt-2.1-1
+
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-de
+WORDS_PKG_VERSION             = 2.1
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-de $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = GPLv2
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-install.sh
+WORDS_PKG_INSTALL_SCRIPT_IN   = $(WORDS_PKG_NAME)-pkg-install.sh.in
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+language   = Deutch
+spelling   = german
+wordlist   = ngerman
+countries  = German Switzerland Austria
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@tar xjf $(tar_bz2_alt_archive) -C $(TARGET_BUILD_DIR)
+	@cp -a $(alt_src_dir)/README $(SRC_DIR)/README.alt
+	@cp -a $(alt_src_dir)/de-alt.cwl $(SRC_DIR)/de-alt.cwl
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   mkdir -p built ; \
+	   cat $(man_page_template) | sed -e "s/@WORDLIST@/$(spelling)/g" | \
+	                              sed -e "s/@LANGUAGE@/$(language)/g" > built/$(spelling).5 ; \
+	   preunzip *.cwl ; \
+	   for wl in *.wl ; do \
+	     iconv --from-code=ISO-8859-1 --to-code=UTF-8 $$wl | \
+	     cut -d '/' -f 1 > $$wl.utf8 ; \
+	   done ; \
+	   rm *.wl ; \
+	   cat de-common.wl.utf8 de_*.wl.utf8 | sort -u > built/ngerman ; \
+	   cat                 de-alt.wl.utf8 | sort -u > built/ogerman ; \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR)/built ; \
+	   cp $(wordlist) ogerman $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR)/built ; \
+	   cat $(spelling).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(spelling).5.gz ; \
+	 )
+	# ======= Aspell Dictionaries Documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/COPYING $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)
+	@( cd $(SRC_DIR) ; \
+	   cp -a COPYING README* \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@LANGUAGE@/$(language)/g" | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g"   > $@
+
+$(WORDS_PKG_INSTALL_SCRIPT): $(WORDS_PKG_INSTALL_SCRIPT_IN)
+	@cat $< | $(SED) -e "s/@WORDLIST@/$(wordlist)/g" | \
+	          $(SED) -e "s/@SPELLING@/$(spelling)/g"   > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-de/2.1/PATCHES
===================================================================
Index: dict/words-de/2.1/man/wordlist.5.in
===================================================================
--- dict/words-de/2.1/man/wordlist.5.in	(nonexistent)
+++ dict/words-de/2.1/man/wordlist.5.in	(revision 76)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of @LANGUAGE@ words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This @LANGUAGE@ word lists are built from the Official Dictionaries found at
+.IB ftp://ftp.gnu.org/gnu/aspell/dict/0index.html
+for Aspell 0.60.
Index: dict/words-de/2.1/words-de-pkg-description.in
===================================================================
--- dict/words-de/2.1/words-de-pkg-description.in	(nonexistent)
+++ dict/words-de/2.1/words-de-pkg-description.in	(revision 76)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+        |-----handy-ruler------------------------------------------------------|
+words-de: words-de @VERSION@ (@LANGUAGE@ wordlist)
+words-de:
+words-de: This package provides the /usr/share/dict/@WORDLIST@
+words-de: file containing a list of @LANGUAGE@ words with German, Switzerland,
+words-de: and Austria spellings. Also this package contains German old
+words-de: spelling words placed into /usr/share/dict/ogerman file.
+words-de:
+words-de: This list can be used by spelling checkers, and by programs
+words-de: such as look(1).
+words-de:
+words-de:
Index: dict/words-de/2.1/words-de-pkg-install.sh.in
===================================================================
--- dict/words-de/2.1/words-de-pkg-install.sh.in	(nonexistent)
+++ dict/words-de/2.1/words-de-pkg-install.sh.in	(revision 76)
@@ -0,0 +1,61 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  ( cd usr/share/dict
+    if [ ! -L "@SPELLING@" -o ! -f "`readlink @SPELLING@`" ] ; then
+      ln -sf @WORDLIST@ @SPELLING@
+    fi
+  )
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  ( cd usr/share/dict
+    if [ -L "@SPELLING@" -a ! -f "`readlink @SPELLING@`" ] ; then
+      rm -f @SPELLING@
+    fi
+  )
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-de/2.1/words-de-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-es/1.11-2/Makefile
===================================================================
--- dict/words-es/1.11-2/Makefile	(nonexistent)
+++ dict/words-es/1.11-2/Makefile	(revision 76)
@@ -0,0 +1,154 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/aspell/es
+
+REQUIRES            = base/pkgtool
+
+
+version             = 1.11-2
+tar_bz2_archive     = $(SRC_PACKAGE_PATH)/dict/aspell/es/aspell6-es-1.11-2.tar.bz2
+SRC_ARCHIVE         = $(tar_bz2_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/aspell6-es-1.11-2
+doc_dir_name        = words-es-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-es
+WORDS_PKG_VERSION             = 1.11-2
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-es $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = GPLv2
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+language  = Spanish
+wordlist  = spanish
+country   = Spain
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   mkdir -p built ; \
+	   cat $(man_page_template) | sed -e "s/@WORDLIST@/$(wordlist)/g" | \
+	                              sed -e "s/@LANGUAGE@/$(language)/g" > built/$(wordlist).5 ; \
+	   preunzip *.cwl ; \
+	   for wl in *.wl ; do \
+	     iconv --from-code=ISO-8859-1 --to-code=UTF-8 $$wl | \
+	     cut -d '/' -f 1 > $$wl.utf8 ; \
+	   done ; \
+	   rm *.wl ; \
+	   cat es.wl.utf8 | sort -u > built/$(wordlist) ; \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR)/built ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR)/built ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= Aspell Dictionaries Documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/COPYING $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)
+	@( cd $(SRC_DIR) ; \
+	   cp -a COPYING Copyright README \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@LANGUAGE@/$(language)/g" | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g"   > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-es/1.11-2/PATCHES
===================================================================
Index: dict/words-es/1.11-2/man/wordlist.5.in
===================================================================
--- dict/words-es/1.11-2/man/wordlist.5.in	(nonexistent)
+++ dict/words-es/1.11-2/man/wordlist.5.in	(revision 76)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of @LANGUAGE@ words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This @LANGUAGE@ word lists are built from the Official Dictionaries found at
+.IB ftp://ftp.gnu.org/gnu/aspell/dict/0index.html
+for Aspell 0.60.
Index: dict/words-es/1.11-2/words-es-pkg-description.in
===================================================================
--- dict/words-es/1.11-2/words-es-pkg-description.in	(nonexistent)
+++ dict/words-es/1.11-2/words-es-pkg-description.in	(revision 76)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+        |-----handy-ruler------------------------------------------------------|
+words-es: words-es @VERSION@ (@LANGUAGE@ wordlist)
+words-es:
+words-es: This package provides the /usr/share/dict/@WORDLIST@
+words-es: file containing a list of @LANGUAGE@ words.
+words-es:
+words-es: This list can be used by spelling checkers, and by programs
+words-es: such as look(1).
+words-es:
+words-es:
+words-es:
+words-es:
Index: dict/words-es/1.11-2/words-es-pkg-install.sh
===================================================================
--- dict/words-es/1.11-2/words-es-pkg-install.sh	(nonexistent)
+++ dict/words-es/1.11-2/words-es-pkg-install.sh	(revision 76)
@@ -0,0 +1,53 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-es/1.11-2/words-es-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-fi/0.7-0/Makefile
===================================================================
--- dict/words-fi/0.7-0/Makefile	(nonexistent)
+++ dict/words-fi/0.7-0/Makefile	(revision 76)
@@ -0,0 +1,155 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/aspell/fi
+
+REQUIRES            = base/pkgtool
+
+
+version             = 0.7-0
+tar_bz2_archive     = $(SRC_PACKAGE_PATH)/dict/aspell/fi/aspell6-fi-0.7-0.tar.bz2
+SRC_ARCHIVE         = $(tar_bz2_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/aspell6-fi-0.7-0
+doc_dir_name        = words-fi-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-fi
+WORDS_PKG_VERSION             = 0.7-0
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-fi $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = GPLv2
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+language  = Finnish
+wordlist  = finnish
+country   = Finland
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   mkdir -p built ; \
+	   cat $(man_page_template) | sed -e "s/@WORDLIST@/$(wordlist)/g" | \
+	                              sed -e "s/@LANGUAGE@/$(language)/g" > built/$(wordlist).5 ; \
+	   preunzip *.cwl ; \
+	   for wl in *.wl ; do \
+	     iconv --from-code=ISO-8859-1 --to-code=UTF-8 $$wl | \
+	     cut -d '/' -f 1 > $$wl.utf8 ; \
+	   done ; \
+	   rm *.wl ; \
+	   cat fi.wl.utf8 | sort -u > built/$(wordlist) ; \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR)/built ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR)/built ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= Aspell Dictionaries Documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/COPYING $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)
+	@( cd $(SRC_DIR) ; \
+	   cp -a COPYING Copyright README \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	@cp -a $(SRC_DIR)/doc/README $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/README.ispell
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@LANGUAGE@/$(language)/g" | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g"   > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-fi/0.7-0/PATCHES
===================================================================
Index: dict/words-fi/0.7-0/man/wordlist.5.in
===================================================================
--- dict/words-fi/0.7-0/man/wordlist.5.in	(nonexistent)
+++ dict/words-fi/0.7-0/man/wordlist.5.in	(revision 76)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of @LANGUAGE@ words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This @LANGUAGE@ word lists are built from the Official Dictionaries found at
+.IB ftp://ftp.gnu.org/gnu/aspell/dict/0index.html
+for Aspell 0.60.
Index: dict/words-fi/0.7-0/words-fi-pkg-description.in
===================================================================
--- dict/words-fi/0.7-0/words-fi-pkg-description.in	(nonexistent)
+++ dict/words-fi/0.7-0/words-fi-pkg-description.in	(revision 76)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+        |-----handy-ruler------------------------------------------------------|
+words-fi: words-fi @VERSION@ (@LANGUAGE@ wordlist)
+words-fi:
+words-fi: This package provides the /usr/share/dict/@WORDLIST@
+words-fi: file containing a list of @LANGUAGE@ words.
+words-fi:
+words-fi: This list can be used by spelling checkers, and by programs
+words-fi: such as look(1).
+words-fi:
+words-fi:
+words-fi:
+words-fi:
Index: dict/words-fi/0.7-0/words-fi-pkg-install.sh
===================================================================
--- dict/words-fi/0.7-0/words-fi-pkg-install.sh	(nonexistent)
+++ dict/words-fi/0.7-0/words-fi-pkg-install.sh	(revision 76)
@@ -0,0 +1,53 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-fi/0.7-0/words-fi-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-fr/0.50-3/Makefile
===================================================================
--- dict/words-fr/0.50-3/Makefile	(nonexistent)
+++ dict/words-fr/0.50-3/Makefile	(revision 76)
@@ -0,0 +1,155 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/aspell/fr
+
+REQUIRES            = base/pkgtool
+
+
+version             = 0.50-3
+tar_bz2_archive     = $(SRC_PACKAGE_PATH)/dict/aspell/fr/aspell-fr-0.50-3.tar.bz2
+SRC_ARCHIVE         = $(tar_bz2_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/aspell-fr-0.50-3
+doc_dir_name        = words-fr-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-fr
+WORDS_PKG_VERSION             = 0.50-3
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-fr $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = GPLv2
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+language  = French
+wordlist  = french
+country   = France
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   mkdir -p built ; \
+	   cat $(man_page_template) | sed -e "s/@WORDLIST@/$(wordlist)/g" | \
+	                              sed -e "s/@LANGUAGE@/$(language)/g" > built/$(wordlist).5 ; \
+	   preunzip *.cwl ; \
+	   for wl in *.wl ; do \
+	     iconv --from-code=ISO-8859-1 --to-code=UTF-8 $$wl | \
+	     cut -d '/' -f 1 > $$wl.utf8 ; \
+	   done ; \
+	   rm *.wl ; \
+	   cat fr-40-only.wl.utf8 fr_CH-only.wl.utf8 | sort -u > built/$(wordlist) ; \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR)/built ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR)/built ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= Aspell Dictionaries Documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/COPYING $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)
+	@( cd $(SRC_DIR) ; \
+	   cp -a COPYING README doc/CHANGE doc/LISEZMOI \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@LANGUAGE@/$(language)/g" | \
+	          $(SED) -e "s/@COUNTRY@/$(country)/g"   | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g"   > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-fr/0.50-3/PATCHES
===================================================================
Index: dict/words-fr/0.50-3/man/wordlist.5.in
===================================================================
--- dict/words-fr/0.50-3/man/wordlist.5.in	(nonexistent)
+++ dict/words-fr/0.50-3/man/wordlist.5.in	(revision 76)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of @LANGUAGE@ words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This @LANGUAGE@ word lists are built from the Official Dictionaries found at
+.IB ftp://ftp.gnu.org/gnu/aspell/dict/0index.html
+for Aspell 0.60.
Index: dict/words-fr/0.50-3/words-fr-pkg-description.in
===================================================================
--- dict/words-fr/0.50-3/words-fr-pkg-description.in	(nonexistent)
+++ dict/words-fr/0.50-3/words-fr-pkg-description.in	(revision 76)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+        |-----handy-ruler------------------------------------------------------|
+words-fr: words-fr @VERSION@ (@LANGUAGE@ wordlist)
+words-fr:
+words-fr: This package provides the /usr/share/dict/@WORDLIST@
+words-fr: file containing a small list of @LANGUAGE@ words with @COUNTRY@ and
+words-fr: Switzerland spelling.
+words-fr:
+words-fr: This list can be used by spelling checkers, and by programs
+words-fr: such as look(1).
+words-fr:
+words-fr:
+words-fr:
Index: dict/words-fr/0.50-3/words-fr-pkg-install.sh
===================================================================
--- dict/words-fr/0.50-3/words-fr-pkg-install.sh	(nonexistent)
+++ dict/words-fr/0.50-3/words-fr-pkg-install.sh	(revision 76)
@@ -0,0 +1,53 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-fr/0.50-3/words-fr-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-it/2.2/Makefile
===================================================================
--- dict/words-it/2.2/Makefile	(nonexistent)
+++ dict/words-it/2.2/Makefile	(revision 76)
@@ -0,0 +1,155 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/aspell/it
+
+REQUIRES            = base/pkgtool
+
+
+version             = 2.2
+tar_bz2_archive     = $(SRC_PACKAGE_PATH)/dict/aspell/it/aspell6-it-2.2_20050523-0.tar.bz2
+SRC_ARCHIVE         = $(tar_bz2_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/aspell6-it-2.2_20050523-0
+doc_dir_name        = words-it-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-it
+WORDS_PKG_VERSION             = 2.2
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-it $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = GPLv2
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+language  = Italian
+wordlist  = italian
+country   = Italy
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   mkdir -p built ; \
+	   cat $(man_page_template) | sed -e "s/@WORDLIST@/$(wordlist)/g" | \
+	                              sed -e "s/@LANGUAGE@/$(language)/g" > built/$(wordlist).5 ; \
+	   preunzip *.cwl ; \
+	   for wl in *.wl ; do \
+	     iconv --from-code=ISO-8859-1 --to-code=UTF-8 $$wl | \
+	     cut -d '/' -f 1 > $$wl.utf8 ; \
+	   done ; \
+	   rm *.wl ; \
+	   cat it.wl.utf8 | sort -u > built/$(wordlist) ; \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR)/built ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR)/built ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= Aspell Dictionaries Documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/COPYING $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)
+	@( cd $(SRC_DIR) ; \
+	   cp -a COPYING Copyright README doc/*.txt \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	@cp -a $(SRC_DIR)/doc/README_aspell $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)/README_aspell
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@LANGUAGE@/$(language)/g" | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g"   > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-it/2.2/PATCHES
===================================================================
Index: dict/words-it/2.2/man/wordlist.5.in
===================================================================
--- dict/words-it/2.2/man/wordlist.5.in	(nonexistent)
+++ dict/words-it/2.2/man/wordlist.5.in	(revision 76)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of @LANGUAGE@ words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This @LANGUAGE@ word lists are built from the Official Dictionaries found at
+.IB ftp://ftp.gnu.org/gnu/aspell/dict/0index.html
+for Aspell 0.60.
Index: dict/words-it/2.2/words-it-pkg-description.in
===================================================================
--- dict/words-it/2.2/words-it-pkg-description.in	(nonexistent)
+++ dict/words-it/2.2/words-it-pkg-description.in	(revision 76)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+        |-----handy-ruler------------------------------------------------------|
+words-it: words-it @VERSION@ (@LANGUAGE@ wordlist)
+words-it:
+words-it: This package provides the /usr/share/dict/@WORDLIST@
+words-it: file containing a list of @LANGUAGE@ words.
+words-it:
+words-it: This list can be used by spelling checkers, and by programs
+words-it: such as look(1).
+words-it:
+words-it:
+words-it:
+words-it:
Index: dict/words-it/2.2/words-it-pkg-install.sh
===================================================================
--- dict/words-it/2.2/words-it-pkg-install.sh	(nonexistent)
+++ dict/words-it/2.2/words-it-pkg-install.sh	(revision 76)
@@ -0,0 +1,53 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-it/2.2/words-it-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: dict/words-ru/0.99f7-1/Makefile
===================================================================
--- dict/words-ru/0.99f7-1/Makefile	(nonexistent)
+++ dict/words-ru/0.99f7-1/Makefile	(revision 76)
@@ -0,0 +1,154 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_PC32)
+COMPONENT_TARGETS += $(HARDWARE_PC64)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_VIP1830)
+COMPONENT_TARGETS += $(HARDWARE_BEAGLE)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_B74)
+
+
+NEED_ABS_PATH      = true
+COMPONENT_IS_3PP   = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES     = sources/dict/aspell/ru
+
+REQUIRES            = base/pkgtool
+
+
+version             = 0.99f7-1
+tar_bz2_archive     = $(SRC_PACKAGE_PATH)/dict/aspell/ru/aspell6-ru-0.99f7-1.tar.bz2
+SRC_ARCHIVE         = $(tar_bz2_archive)
+SRC_DIR             = $(TARGET_BUILD_DIR)/aspell6-ru-0.99f7-1
+doc_dir_name        = words-ru-$(version)
+src_done            = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_target        = $(TARGET_BUILD_DIR)/.build_done
+install_target      = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dict
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+WORDS_PKG_NAME                = words-ru
+WORDS_PKG_VERSION             = 0.99f7-1
+WORDS_PKG_ARCH                = $(TOOLCHAIN)
+WORDS_PKG_DISTRO_NAME         = kxLab
+WORDS_PKG_DISTRO_VERSION      = 1.0
+WORDS_PKG_GROUP               = $(PKG_GROUP)
+###                            |---handy-ruler-------------------------------|
+WORDS_PKG_SHORT_DESCRIPTION   = words-ru $(version)
+WORDS_PKG_URL                 = http://www.kxLab.com
+WORDS_PKG_LICENSE             = public
+WORDS_PKG_DESCRIPTION_FILE    = $(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-pkg-description
+WORDS_PKG_DESCRIPTION_FILE_IN = $(WORDS_PKG_NAME)-pkg-description.in
+WORDS_PKG_INSTALL_SCRIPT      = $(WORDS_PKG_NAME)-pkg-install.sh
+
+WORDS_PKG        = $(CURDIR)/$(TARGET_BUILD_DIR)/$(WORDS_PKG_NAME)-package
+
+pkg_basename     = $(WORDS_PKG_NAME)-$(WORDS_PKG_VERSION)-$(WORDS_PKG_ARCH)-$(WORDS_PKG_DISTRO_NAME)-$(WORDS_PKG_DISTRO_VERSION)
+
+pkg_archive      = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature    = $(call sign-name,$(pkg_archive))
+pkg_description  = $(call desc-name,$(pkg_archive))
+products         = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+PRODUCT_TARGETS  = $(products)
+
+ROOTFS_TARGETS   = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+language  = Russian
+wordlist  = russian
+country   = Russia
+
+man_page_template = $(CURDIR)/man/wordlist.5.in
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   set -e ; \
+	   mkdir -p built ; \
+	   cat $(man_page_template) | sed -e "s/@WORDLIST@/$(wordlist)/g" | \
+	                              sed -e "s/@LANGUAGE@/$(language)/g" > built/$(wordlist).5 ; \
+	   preunzip *.cwl ; \
+	   for wl in *.wl ; do \
+	     iconv --from-code=KOI8-r --to-code=UTF-8 $$wl | \
+	     cut -d '/' -f 1 > $$wl.utf8 ; \
+	   done ; \
+	   rm *.wl ; \
+	   cat ru-ye.wl.utf8 ru-yo.wl.utf8 | sort -u > built/$(wordlist) ; \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@mkdir -p $(WORDS_PKG)/usr/share/dict
+	# ======= install wordlists =======
+	@( cd $(SRC_DIR)/built ; \
+	   cp $(wordlist) $(WORDS_PKG)/usr/share/dict ; \
+	   chmod 0644 $(WORDS_PKG)/usr/share/dict/* \
+	 )
+	# ======= man pages =======
+	@mkdir -p $(WORDS_PKG)/usr/share/man/man5
+	@( cd $(SRC_DIR)/built ; \
+	   cat $(wordlist).5 | gzip -9c > $(WORDS_PKG)/usr/share/man/man5/$(wordlist).5.gz ; \
+	 )
+	# ======= Aspell Dictionaries Documentation =======
+	@mkdir -p $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@cp -a $(SRC_DIR)/Copyright $(WORDS_PKG)/usr/doc/words/$(doc_dir_name)
+	@mkdir -p $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name)
+	@( cd $(SRC_DIR) ; \
+	   cp -a Copyright README doc/*.txt \
+	         $(WORDS_PKG)/usr/share/doc/words/$(doc_dir_name) ; \
+	 )
+	# ======= Install the same to $(TARGET_DEST_DIR) =======
+	@mkdir -p $(TARGET_DEST_DIR)
+	@cd $(WORDS_PKG) && cp -rf * $(TARGET_DEST_DIR)
+	@touch $@
+
+$(WORDS_PKG_DESCRIPTION_FILE): $(WORDS_PKG_DESCRIPTION_FILE_IN)
+	@cat $< | $(SED) -e "s/@VERSION@/$(version)/g"   | \
+	          $(SED) -e "s/@LANGUAGE@/$(language)/g" | \
+	          $(SED) -e "s/@WORDLIST@/$(wordlist)/g"   > $@
+
+$(pkg_signature)   : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG_INSTALL_SCRIPT)
+	@cp $(WORDS_PKG_DESCRIPTION_FILE) $(WORDS_PKG)/.DESCRIPTION
+	@cp $(WORDS_PKG_INSTALL_SCRIPT) $(WORDS_PKG)/.INSTALL
+	@chmod a+x $(WORDS_PKG)/.INSTALL
+	@$(BUILD_PKG_REQUIRES) $(WORDS_PKG)/.REQUIRES
+	@echo "pkgname=$(WORDS_PKG_NAME)"                            >  $(WORDS_PKG)/.PKGINFO ; \
+	 echo "pkgver=$(WORDS_PKG_VERSION)"                          >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "arch=$(WORDS_PKG_ARCH)"                               >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distroname=$(WORDS_PKG_DISTRO_NAME)"                  >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "distrover=$(WORDS_PKG_DISTRO_VERSION)"                >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "group=$(WORDS_PKG_GROUP)"                             >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "short_description=\"$(WORDS_PKG_SHORT_DESCRIPTION)\"" >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "url=$(WORDS_PKG_URL)"                                 >> $(WORDS_PKG)/.PKGINFO ; \
+	 echo "license=$(WORDS_PKG_LICENSE)"                         >> $(WORDS_PKG)/.PKGINFO
+	@$(FAKEROOT) sh -c "cd $(WORDS_PKG) && chown -R root:root . && $(MAKE_PACKAGE) --linkadd yes .."
Index: dict/words-ru/0.99f7-1/PATCHES
===================================================================
Index: dict/words-ru/0.99f7-1/man/wordlist.5.in
===================================================================
--- dict/words-ru/0.99f7-1/man/wordlist.5.in	(nonexistent)
+++ dict/words-ru/0.99f7-1/man/wordlist.5.in	(revision 76)
@@ -0,0 +1,46 @@
+.TH @WORDLIST@ 5 "10 July 2014" "Andrey V.Kosteltsev" "Users' Manual"
+.SH NAME
+.B @WORDLIST@
+\- a list of @LANGUAGE@ words
+.SH DESCRIPTION
+.B /usr/share/dict/@WORDLIST@
+is an ASCII file which contains an alphabetic list of words, one per
+line.
+.SH FILES
+The directory
+.I /usr/share/dict
+can contain word lists for many languages.
+.I /usr/share/dict/words
+is a symbolic link to the currently-chosen
+.I /usr/share/dict/<language>
+file.
+.PP
+Word lists for other languages may be added using the English name for
+that language, e.g.,
+.IR /usr/share/dict/french ,
+.IR /usr/share/dict/danish ,
+etc.
+These should, if possible, use an ISO 8859 character set which is appropriate
+for the language in question; if possible the Latin1 (ISO 8859-1) character set
+should be used (this is often not possible).
+.SH "SEE ALSO"
+.BR ispell (1),
+.BR look (1),
+and the
+.I Filesystem Hierarchy
+.IB Standard .
+.SH HISTORY
+The words lists are not specific, and may be generated from any number
+of sources.
+.PP
+The system word list used to be
+.IR /usr/dict/words .
+For compatibility, software should check that location if
+.I /usr/share/dict/words
+does not exist.
+.SH AUTHOR
+Word lists are collected and maintained by various authors.
+.PP
+This @LANGUAGE@ word lists are built from the Official Dictionaries found at
+.IB ftp://ftp.gnu.org/gnu/aspell/dict/0index.html
+for Aspell 0.60.
Index: dict/words-ru/0.99f7-1/words-ru-pkg-description.in
===================================================================
--- dict/words-ru/0.99f7-1/words-ru-pkg-description.in	(nonexistent)
+++ dict/words-ru/0.99f7-1/words-ru-pkg-description.in	(revision 76)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.  Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in.  You must
+# make exactly 11 lines for the formatting to be correct.  It's also
+# customary to leave one space after the ':'.
+
+        |-----handy-ruler------------------------------------------------------|
+words-ru: words-ru @VERSION@ (@LANGUAGE@ wordlist)
+words-ru:
+words-ru: This package provides the /usr/share/dict/@WORDLIST@
+words-ru: file containing a list of @LANGUAGE@ words.
+words-ru:
+words-ru: This list can be used by spelling checkers, and by programs
+words-ru: such as look(1).
+words-ru:
+words-ru:
+words-ru:
+words-ru:
Index: dict/words-ru/0.99f7-1/words-ru-pkg-install.sh
===================================================================
--- dict/words-ru/0.99f7-1/words-ru-pkg-install.sh	(nonexistent)
+++ dict/words-ru/0.99f7-1/words-ru-pkg-install.sh	(revision 76)
@@ -0,0 +1,53 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+  NEW="$1"
+  OLD="`dirname $NEW`/`basename $NEW .new`"
+  # If there's no file by that name, mv it over:
+  if [ ! -r $OLD ]; then
+    mv $NEW $OLD
+  elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+    rm $NEW
+  fi
+  # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1:  the new package version
+pre_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+post_install() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*

Property changes on: dict/words-ru/0.99f7-1/words-ru-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property