Browse Source

giftnuss:


			
			
				rocklinux
			
			
		
Sebastian Knapp 20 years ago
parent
commit
146101a3ea
9 changed files with 948 additions and 0 deletions
  1. +30
    -0
      package/import/freedict/config.in
  2. +41
    -0
      package/import/freedict/freedict.conf
  3. +42
    -0
      package/import/freedict/freedict.desc
  4. +149
    -0
      package/import/freedict/hosted_freedict.cfg
  5. +268
    -0
      package/import/freedict/hosted_freedict.desc
  6. +114
    -0
      package/import/freedict/hosted_freedict.pl
  7. +250
    -0
      package/import/freedict/hosted_freedict.sel
  8. +49
    -0
      package/import/freedict/hosted_freedict.txt
  9. +5
    -0
      package/import/freedict/pkgmapper.in

+ 30
- 0
package/import/freedict/config.in

@ -0,0 +1,30 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/import/freedict/config.in
# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
if pkgcheck freedict X
then
menu_begin MENU_FREEDICT 'FreeDict Dictionaries'
. package/import/freedict/hosted_freedict.cfg
pkgremove freedict
menu_end
fi

+ 41
- 0
package/import/freedict/freedict.conf

@ -0,0 +1,41 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/import/freedict/freedict.conf
# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
. $confdir/hosted_freedict.sel
copy_dictionary () {
mkdir -p $root/$prefix/share/dictd
tar -v $taropt $builddir/archdir/$srctar
cp -f $freedict.dict.dz $freedict.index $root/$prefix/share/dictd
}
if [ "$freedict" = "eng-fra" ]
then
freedict=./bin/$freedict
mainfunction=copy_dictionary
else
mainfunction=copy_dictionary
fi

+ 42
- 0
package/import/freedict/freedict.desc

@ -0,0 +1,42 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/import/freedict/freedict.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] Freedict import package (Free dictionaries)
[T] This package has been imported from freedict project.
[T] It provides a ready to run dictionary useful with dictd.
[U] http://www.freedict.de
[A] see source on sourceforge
[M] Sebastian Knapp <rock@ccls-online.de>
[C] extra/education
[L] GPL
[S] Stable
[V] 0000
[P] O -?---5---9 700.000
#include package/import/freedict/hosted_freedict.desc

+ 149
- 0
package/import/freedict/hosted_freedict.cfg

@ -0,0 +1,149 @@
# Auto-generated by hosted_freedict.pl from hosted_freedict.txt
bool 'Building package freedict-afr-deu (Afrikaans-German)' ROCKCFG_PKG_FREEDICT_AFR_DEU 1
if [ $ROCKCFG_PKG_FREEDICT_AFR_DEU = 1 ]; then pkgfork freedict freedict-afr-deu priority 700.000; fi
bool 'Building package freedict-afr-eng (Afrikaans-English)' ROCKCFG_PKG_FREEDICT_AFR_ENG 1
if [ $ROCKCFG_PKG_FREEDICT_AFR_ENG = 1 ]; then pkgfork freedict freedict-afr-eng priority 700.000; fi
bool 'Building package freedict-cro-eng (Croatian-English)' ROCKCFG_PKG_FREEDICT_CRO_ENG 1
if [ $ROCKCFG_PKG_FREEDICT_CRO_ENG = 1 ]; then pkgfork freedict freedict-cro-eng priority 700.000; fi
bool 'Building package freedict-cze-eng (Czech-English)' ROCKCFG_PKG_FREEDICT_CZE_ENG 1
if [ $ROCKCFG_PKG_FREEDICT_CZE_ENG = 1 ]; then pkgfork freedict freedict-cze-eng priority 700.000; fi
bool 'Building package freedict-dan-eng (Danish-English)' ROCKCFG_PKG_FREEDICT_DAN_ENG 1
if [ $ROCKCFG_PKG_FREEDICT_DAN_ENG = 1 ]; then pkgfork freedict freedict-dan-eng priority 700.000; fi
bool 'Building package freedict-deu-eng (German-English)' ROCKCFG_PKG_FREEDICT_DEU_ENG 1
if [ $ROCKCFG_PKG_FREEDICT_DEU_ENG = 1 ]; then pkgfork freedict freedict-deu-eng priority 700.000; fi
bool 'Building package freedict-deu-fra (German-French)' ROCKCFG_PKG_FREEDICT_DEU_FRA 1
if [ $ROCKCFG_PKG_FREEDICT_DEU_FRA = 1 ]; then pkgfork freedict freedict-deu-fra priority 700.000; fi
bool 'Building package freedict-deu-ita (German-Italian)' ROCKCFG_PKG_FREEDICT_DEU_ITA 1
if [ $ROCKCFG_PKG_FREEDICT_DEU_ITA = 1 ]; then pkgfork freedict freedict-deu-ita priority 700.000; fi
bool 'Building package freedict-deu-nld (German-Dutch)' ROCKCFG_PKG_FREEDICT_DEU_NLD 1
if [ $ROCKCFG_PKG_FREEDICT_DEU_NLD = 1 ]; then pkgfork freedict freedict-deu-nld priority 700.000; fi
bool 'Building package freedict-deu-por (German-Portuguese)' ROCKCFG_PKG_FREEDICT_DEU_POR 1
if [ $ROCKCFG_PKG_FREEDICT_DEU_POR = 1 ]; then pkgfork freedict freedict-deu-por priority 700.000; fi
bool 'Building package freedict-eng-afr (English-Afrikaans)' ROCKCFG_PKG_FREEDICT_ENG_AFR 1
if [ $ROCKCFG_PKG_FREEDICT_ENG_AFR = 1 ]; then pkgfork freedict freedict-eng-afr priority 700.000; fi
bool 'Building package freedict-eng-ara (English-Arabic)' ROCKCFG_PKG_FREEDICT_ENG_ARA 1
if [ $ROCKCFG_PKG_FREEDICT_ENG_ARA = 1 ]; then pkgfork freedict freedict-eng-ara priority 700.000; fi
bool 'Building package freedict-eng-deu (English-German)' ROCKCFG_PKG_FREEDICT_ENG_DEU 1
if [ $ROCKCFG_PKG_FREEDICT_ENG_DEU = 1 ]; then pkgfork freedict freedict-eng-deu priority 700.000; fi
bool 'Building package freedict-eng-fra (English-French)' ROCKCFG_PKG_FREEDICT_ENG_FRA 1
if [ $ROCKCFG_PKG_FREEDICT_ENG_FRA = 1 ]; then pkgfork freedict freedict-eng-fra priority 700.000; fi
bool 'Building package freedict-eng-hin (English-Hindi)' ROCKCFG_PKG_FREEDICT_ENG_HIN 1
if [ $ROCKCFG_PKG_FREEDICT_ENG_HIN = 1 ]; then pkgfork freedict freedict-eng-hin priority 700.000; fi
bool 'Building package freedict-eng-hun (English-Hungarian)' ROCKCFG_PKG_FREEDICT_ENG_HUN 1
if [ $ROCKCFG_PKG_FREEDICT_ENG_HUN = 1 ]; then pkgfork freedict freedict-eng-hun priority 700.000; fi
bool 'Building package freedict-eng-iri (English-Irish)' ROCKCFG_PKG_FREEDICT_ENG_IRI 1
if [ $ROCKCFG_PKG_FREEDICT_ENG_IRI = 1 ]; then pkgfork freedict freedict-eng-iri priority 700.000; fi
bool 'Building package freedict-eng-ita (English-Italian)' ROCKCFG_PKG_FREEDICT_ENG_ITA 1
if [ $ROCKCFG_PKG_FREEDICT_ENG_ITA = 1 ]; then pkgfork freedict freedict-eng-ita priority 700.000; fi
bool 'Building package freedict-eng-lat (English-Latin)' ROCKCFG_PKG_FREEDICT_ENG_LAT 1
if [ $ROCKCFG_PKG_FREEDICT_ENG_LAT = 1 ]; then pkgfork freedict freedict-eng-lat priority 700.000; fi
bool 'Building package freedict-eng-nld (English-Dutch)' ROCKCFG_PKG_FREEDICT_ENG_NLD 1
if [ $ROCKCFG_PKG_FREEDICT_ENG_NLD = 1 ]; then pkgfork freedict freedict-eng-nld priority 700.000; fi
bool 'Building package freedict-eng-por (English-Portuguese)' ROCKCFG_PKG_FREEDICT_ENG_POR 1
if [ $ROCKCFG_PKG_FREEDICT_ENG_POR = 1 ]; then pkgfork freedict freedict-eng-por priority 700.000; fi
bool 'Building package freedict-eng-rom (English-Romanian)' ROCKCFG_PKG_FREEDICT_ENG_ROM 1
if [ $ROCKCFG_PKG_FREEDICT_ENG_ROM = 1 ]; then pkgfork freedict freedict-eng-rom priority 700.000; fi
bool 'Building package freedict-eng-rus (English-Russian)' ROCKCFG_PKG_FREEDICT_ENG_RUS 1
if [ $ROCKCFG_PKG_FREEDICT_ENG_RUS = 1 ]; then pkgfork freedict freedict-eng-rus priority 700.000; fi
bool 'Building package freedict-eng-spa (English-Spanish)' ROCKCFG_PKG_FREEDICT_ENG_SPA 1
if [ $ROCKCFG_PKG_FREEDICT_ENG_SPA = 1 ]; then pkgfork freedict freedict-eng-spa priority 700.000; fi
bool 'Building package freedict-eng-swe (English-Swedish)' ROCKCFG_PKG_FREEDICT_ENG_SWE 1
if [ $ROCKCFG_PKG_FREEDICT_ENG_SWE = 1 ]; then pkgfork freedict freedict-eng-swe priority 700.000; fi
bool 'Building package freedict-eng-wel (English-Welsh)' ROCKCFG_PKG_FREEDICT_ENG_WEL 1
if [ $ROCKCFG_PKG_FREEDICT_ENG_WEL = 1 ]; then pkgfork freedict freedict-eng-wel priority 700.000; fi
bool 'Building package freedict-fra-deu (French-German)' ROCKCFG_PKG_FREEDICT_FRA_DEU 1
if [ $ROCKCFG_PKG_FREEDICT_FRA_DEU = 1 ]; then pkgfork freedict freedict-fra-deu priority 700.000; fi
bool 'Building package freedict-fra-eng (French-English)' ROCKCFG_PKG_FREEDICT_FRA_ENG 1
if [ $ROCKCFG_PKG_FREEDICT_FRA_ENG = 1 ]; then pkgfork freedict freedict-fra-eng priority 700.000; fi
bool 'Building package freedict-fra-nld (French-Dutch)' ROCKCFG_PKG_FREEDICT_FRA_NLD 1
if [ $ROCKCFG_PKG_FREEDICT_FRA_NLD = 1 ]; then pkgfork freedict freedict-fra-nld priority 700.000; fi
bool 'Building package freedict-hun-eng (Hungarian-English)' ROCKCFG_PKG_FREEDICT_HUN_ENG 1
if [ $ROCKCFG_PKG_FREEDICT_HUN_ENG = 1 ]; then pkgfork freedict freedict-hun-eng priority 700.000; fi
bool 'Building package freedict-iri-eng (Irish-English)' ROCKCFG_PKG_FREEDICT_IRI_ENG 1
if [ $ROCKCFG_PKG_FREEDICT_IRI_ENG = 1 ]; then pkgfork freedict freedict-iri-eng priority 700.000; fi
bool 'Building package freedict-ita-deu (Italian-German)' ROCKCFG_PKG_FREEDICT_ITA_DEU 1
if [ $ROCKCFG_PKG_FREEDICT_ITA_DEU = 1 ]; then pkgfork freedict freedict-ita-deu priority 700.000; fi
bool 'Building package freedict-jpn-deu (Japanese-German)' ROCKCFG_PKG_FREEDICT_JPN_DEU 1
if [ $ROCKCFG_PKG_FREEDICT_JPN_DEU = 1 ]; then pkgfork freedict freedict-jpn-deu priority 700.000; fi
bool 'Building package freedict-kha-deu (Khasi-German)' ROCKCFG_PKG_FREEDICT_KHA_DEU 1
if [ $ROCKCFG_PKG_FREEDICT_KHA_DEU = 1 ]; then pkgfork freedict freedict-kha-deu priority 700.000; fi
bool 'Building package freedict-lat-deu (Latin-German)' ROCKCFG_PKG_FREEDICT_LAT_DEU 1
if [ $ROCKCFG_PKG_FREEDICT_LAT_DEU = 1 ]; then pkgfork freedict freedict-lat-deu priority 700.000; fi
bool 'Building package freedict-lat-eng (Latin-English)' ROCKCFG_PKG_FREEDICT_LAT_ENG 1
if [ $ROCKCFG_PKG_FREEDICT_LAT_ENG = 1 ]; then pkgfork freedict freedict-lat-eng priority 700.000; fi
bool 'Building package freedict-nld-deu (Dutch-German)' ROCKCFG_PKG_FREEDICT_NLD_DEU 1
if [ $ROCKCFG_PKG_FREEDICT_NLD_DEU = 1 ]; then pkgfork freedict freedict-nld-deu priority 700.000; fi
bool 'Building package freedict-nld-eng (Dutch-English)' ROCKCFG_PKG_FREEDICT_NLD_ENG 1
if [ $ROCKCFG_PKG_FREEDICT_NLD_ENG = 1 ]; then pkgfork freedict freedict-nld-eng priority 700.000; fi
bool 'Building package freedict-nld-fra (Dutch-French)' ROCKCFG_PKG_FREEDICT_NLD_FRA 1
if [ $ROCKCFG_PKG_FREEDICT_NLD_FRA = 1 ]; then pkgfork freedict freedict-nld-fra priority 700.000; fi
bool 'Building package freedict-por-deu (Portuguese-German)' ROCKCFG_PKG_FREEDICT_POR_DEU 1
if [ $ROCKCFG_PKG_FREEDICT_POR_DEU = 1 ]; then pkgfork freedict freedict-por-deu priority 700.000; fi
bool 'Building package freedict-por-eng (Portuguese-English)' ROCKCFG_PKG_FREEDICT_POR_ENG 1
if [ $ROCKCFG_PKG_FREEDICT_POR_ENG = 1 ]; then pkgfork freedict freedict-por-eng priority 700.000; fi
bool 'Building package freedict-sco-deu (Scottish-German)' ROCKCFG_PKG_FREEDICT_SCO_DEU 1
if [ $ROCKCFG_PKG_FREEDICT_SCO_DEU = 1 ]; then pkgfork freedict freedict-sco-deu priority 700.000; fi
bool 'Building package freedict-scr-eng (Serbo-Croat-English)' ROCKCFG_PKG_FREEDICT_SCR_ENG 1
if [ $ROCKCFG_PKG_FREEDICT_SCR_ENG = 1 ]; then pkgfork freedict freedict-scr-eng priority 700.000; fi
bool 'Building package freedict-slo-eng (Slovak-English)' ROCKCFG_PKG_FREEDICT_SLO_ENG 1
if [ $ROCKCFG_PKG_FREEDICT_SLO_ENG = 1 ]; then pkgfork freedict freedict-slo-eng priority 700.000; fi
bool 'Building package freedict-spa-eng (Spanish-English)' ROCKCFG_PKG_FREEDICT_SPA_ENG 1
if [ $ROCKCFG_PKG_FREEDICT_SPA_ENG = 1 ]; then pkgfork freedict freedict-spa-eng priority 700.000; fi
bool 'Building package freedict-swa-eng (Swahili-English)' ROCKCFG_PKG_FREEDICT_SWA_ENG 1
if [ $ROCKCFG_PKG_FREEDICT_SWA_ENG = 1 ]; then pkgfork freedict freedict-swa-eng priority 700.000; fi
bool 'Building package freedict-swe-eng (Swedish-English)' ROCKCFG_PKG_FREEDICT_SWE_ENG 1
if [ $ROCKCFG_PKG_FREEDICT_SWE_ENG = 1 ]; then pkgfork freedict freedict-swe-eng priority 700.000; fi
bool 'Building package freedict-tur-deu (Turkish-German)' ROCKCFG_PKG_FREEDICT_TUR_DEU 1
if [ $ROCKCFG_PKG_FREEDICT_TUR_DEU = 1 ]; then pkgfork freedict freedict-tur-deu priority 700.000; fi
bool 'Building package freedict-tur-eng (Turkish-English)' ROCKCFG_PKG_FREEDICT_TUR_ENG 1
if [ $ROCKCFG_PKG_FREEDICT_TUR_ENG = 1 ]; then pkgfork freedict freedict-tur-eng priority 700.000; fi

+ 268
- 0
package/import/freedict/hosted_freedict.desc

@ -0,0 +1,268 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/import/freedict/hosted_freedict.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
# Auto-generated by hosted_freedict.pl from hosted_freedict.txt
#if xpkg == freedict-afr-deu
[V] 0.0.1
[D] 0 afr-deu.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-afr-eng
[V] 0.0.1
[D] 0 afr-eng.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-cro-eng
[V] 0.0.3
[D] 0 cro-eng.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-cze-eng
[V] 0.0.1
[D] 0 cze-eng.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-dan-eng
[V] 0.0.1
[D] 0 dan-eng.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-deu-eng
[V] 0.0.1
[D] 0 deu-eng.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-deu-fra
[V] 0.0.1
[D] 0 deu-fra.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-deu-ita
[V] 0.0.1
[D] 0 deu-ita.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-deu-nld
[V] 0.0.1
[D] 0 deu-nld.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-deu-por
[V] 0.0.1
[D] 0 deu-por.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-eng-afr
[V] 0.0.1
[D] 0 eng-afr.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-eng-ara
[V] 0.0.2
[D] 0 freedict-eng-ara-0.0.2.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-eng-deu
[V] 0.0.1
[D] 0 eng-deu.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-eng-fra
[V] 0.0.2
[D] 0 eng-fra.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-eng-hin
[V] 1.3
[D] 0 eng-hin.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-eng-hun
[V] 0.0.2
[D] 0 eng-hun.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-eng-iri
[V] 0.0.1
[D] 0 eng-iri.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-eng-ita
[V] 0.0.1
[D] 0 eng-ita.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-eng-lat
[V] 0.0.1
[D] 0 eng-lat.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-eng-nld
[V] 0.0.1
[D] 0 eng-nld.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-eng-por
[V] 0.0.1
[D] 0 eng-por.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-eng-rom
[V] 0.0.1
[D] 0 eng-rom.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-eng-rus
[V] 0.0.1
[D] 0 eng-rus.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-eng-spa
[V] 0.0.1
[D] 0 eng-spa.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-eng-swe
[V] 0.0.1
[D] 0 eng-swe.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-eng-wel
[V] 0.0.1
[D] 0 eng-wel.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-fra-deu
[V] 0.0.1
[D] 0 fra-deu.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-fra-eng
[V] 0.0.1
[D] 0 fra-eng.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-fra-nld
[V] 0.0.1
[D] 0 fra-nld.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-hun-eng
[V] 0.0.1
[D] 0 hun-eng.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-iri-eng
[V] 0.0.1
[D] 0 iri-eng.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-ita-deu
[V] 0.0.1
[D] 0 ita-deu.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-jpn-deu
[V] 0.0.1
[D] 0 jpn-deu.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-kha-deu
[V] 2nd. Online Draft
[D] 0 kha-deu.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-lat-deu
[V] 0.0.1
[D] 0 lat-deu.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-lat-eng
[V] 0.0.1
[D] 0 lat-eng.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-nld-deu
[V] 0.0.1
[D] 0 nld-deu.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-nld-eng
[V] 0.0.1
[D] 0 nld-eng.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-nld-fra
[V] 0.0.1
[D] 0 nld-fra.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-por-deu
[V] 0.0.1
[D] 0 por-deu.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-por-eng
[V] 0.0.1
[D] 0 por-eng.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-sco-deu
[V] 0.0.1
[D] 0 sco-deu.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-scr-eng
[V] 0.0.1
[D] 0 scr-eng.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-slo-eng
[V] 0.0.1
[D] 0 slo-eng.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-spa-eng
[V] 0.0.1
[D] 0 spa-eng.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-swa-eng
[V] 0.0.2
[D] 0 swa-eng.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-swe-eng
[V] 0.0.1
[D] 0 swe-eng.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-tur-deu
[V] 0.0.1
[D] 0 tur-deu.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif
#if xpkg == freedict-tur-eng
[V] 0.0.1
[D] 0 tur-eng.tar.gz http://dl.sourceforge.net/sourceforge/freedict/
#endif

+ 114
- 0
package/import/freedict/hosted_freedict.pl

@ -0,0 +1,114 @@
#!/usr/bin/perl
#
# re-run this scrip if hosted_freedict.txt has changed
# generates hosted_freedict.{desc,sel,cfg}
#
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/import/freedict/hosted_freedict.pl
# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
my $baseurl="http://dl.sourceforge.net/sourceforge/freedict/";
my %hosted;
my %lang=(
afr => 'Afrikaans',
cro => 'Croatian',
cze => 'Czech',
dan => 'Danish',
nld => 'Dutch',
eng => 'English',
deu => 'German',
fra => 'French',
ara => 'Arabic',
hin => 'Hindi',
hun => 'Hungarian',
iri => 'Irish',
ita => 'Italian',
lat => 'Latin',
por => 'Portuguese',
rom => 'Romanian',
rus => 'Russian',
sco => 'Scottish',
slo => 'Slovak',
spa => 'Spanish',
swa => 'Swahili',
swe => 'Swedish',
wel => 'Welsh',
jpn => 'Japanese',
kha => 'Khasi',
scr => 'Serbo-Croat',
tur => 'Turkish' );
open(F, "hosted_freedict.txt") || die $!;
while (<F>) {
chomp;
next if /^#/ or /^\s*$/;
my ($d,$v)=split /\s+/ , $_, 2;
$hosted{$d}=$v;
}
close F;
open(D, ">hosted_freedict.desc") || die $!;
open(S, ">hosted_freedict.sel") || die $!;
open(C, ">hosted_freedict.cfg") || die $!;
print D "# Auto-generated by hosted_freedict.pl from hosted_freedict.txt\n";
print S "# Auto-generated by hosted_freedict.pl from hosted_freedict.txt\n";
print C "# Auto-generated by hosted_freedict.pl from hosted_freedict.txt\n";
print S "\ncase \"\$xpkg\" in\n";
print D "\n";
print C "\n";
foreach my $dict ( sort keys %hosted ){
my $f="$dict.tar.gz";
$f="freedict-$dict-$hosted{$dict}.tar.gz" if $dict eq "eng-ara";
my $ydict=uc $dict;
$ydict=~ s/\-/_/g;
my ($sl,$tl)=split /\-/, $dict;
$sl=$lang{$sl};
$tl=$lang{$tl};
print D "#if xpkg == freedict-$dict\n";
print D "[V] $hosted{$dict}\n";
print D "[D] 0 $f $baseurl\n";
print D "#endif\n\n";
$f =~ s/\.gz$/.bz2/;
print S "\tfreedict-$dict)\n";
print S "\t\tfreedict=\"$dict\"\n";
print S "\t\tfreedictver=\"$hosted{$dict}\"\n";
print S "\t\tsrctar=\"$f\"\n";
print S "\t\t;;\n";
print C "bool 'Building package freedict-$dict ($sl-$tl)' ROCKCFG_PKG_FREEDICT_$ydict 1\n";
print C "if [ \$ROCKCFG_PKG_FREEDICT_$ydict = 1 ]; then pkgfork freedict freedict-$dict priority 700.000; fi\n\n"
}
print S "esac\n\n";
close D; close S;
close C;

+ 250
- 0
package/import/freedict/hosted_freedict.sel

@ -0,0 +1,250 @@
# Auto-generated by hosted_freedict.pl from hosted_freedict.txt
case "$xpkg" in
freedict-afr-deu)
freedict="afr-deu"
freedictver="0.0.1"
srctar="afr-deu.tar.bz2"
;;
freedict-afr-eng)
freedict="afr-eng"
freedictver="0.0.1"
srctar="afr-eng.tar.bz2"
;;
freedict-cro-eng)
freedict="cro-eng"
freedictver="0.0.3 "
srctar="cro-eng.tar.bz2"
;;
freedict-cze-eng)
freedict="cze-eng"
freedictver="0.0.1"
srctar="cze-eng.tar.bz2"
;;
freedict-dan-eng)
freedict="dan-eng"
freedictver="0.0.1"
srctar="dan-eng.tar.bz2"
;;
freedict-deu-eng)
freedict="deu-eng"
freedictver="0.0.1"
srctar="deu-eng.tar.bz2"
;;
freedict-deu-fra)
freedict="deu-fra"
freedictver="0.0.1"
srctar="deu-fra.tar.bz2"
;;
freedict-deu-ita)
freedict="deu-ita"
freedictver="0.0.1"
srctar="deu-ita.tar.bz2"
;;
freedict-deu-nld)
freedict="deu-nld"
freedictver="0.0.1"
srctar="deu-nld.tar.bz2"
;;
freedict-deu-por)
freedict="deu-por"
freedictver="0.0.1"
srctar="deu-por.tar.bz2"
;;
freedict-eng-afr)
freedict="eng-afr"
freedictver="0.0.1"
srctar="eng-afr.tar.bz2"
;;
freedict-eng-ara)
freedict="eng-ara"
freedictver="0.0.2"
srctar="freedict-eng-ara-0.0.2.tar.bz2"
;;
freedict-eng-deu)
freedict="eng-deu"
freedictver="0.0.1"
srctar="eng-deu.tar.bz2"
;;
freedict-eng-fra)
freedict="eng-fra"
freedictver="0.0.2"
srctar="eng-fra.tar.bz2"
;;
freedict-eng-hin)
freedict="eng-hin"
freedictver="1.3"
srctar="eng-hin.tar.bz2"
;;
freedict-eng-hun)
freedict="eng-hun"
freedictver="0.0.2"
srctar="eng-hun.tar.bz2"
;;
freedict-eng-iri)
freedict="eng-iri"
freedictver="0.0.1"
srctar="eng-iri.tar.bz2"
;;
freedict-eng-ita)
freedict="eng-ita"
freedictver="0.0.1"
srctar="eng-ita.tar.bz2"
;;
freedict-eng-lat)
freedict="eng-lat"
freedictver="0.0.1"
srctar="eng-lat.tar.bz2"
;;
freedict-eng-nld)
freedict="eng-nld"
freedictver="0.0.1"
srctar="eng-nld.tar.bz2"
;;
freedict-eng-por)
freedict="eng-por"
freedictver="0.0.1"
srctar="eng-por.tar.bz2"
;;
freedict-eng-rom)
freedict="eng-rom"
freedictver="0.0.1"
srctar="eng-rom.tar.bz2"
;;
freedict-eng-rus)
freedict="eng-rus"
freedictver="0.0.1"
srctar="eng-rus.tar.bz2"
;;
freedict-eng-spa)
freedict="eng-spa"
freedictver="0.0.1"
srctar="eng-spa.tar.bz2"
;;
freedict-eng-swe)
freedict="eng-swe"
freedictver="0.0.1"
srctar="eng-swe.tar.bz2"
;;
freedict-eng-wel)
freedict="eng-wel"
freedictver="0.0.1"
srctar="eng-wel.tar.bz2"
;;
freedict-fra-deu)
freedict="fra-deu"
freedictver="0.0.1"
srctar="fra-deu.tar.bz2"
;;
freedict-fra-eng)
freedict="fra-eng"
freedictver="0.0.1"
srctar="fra-eng.tar.bz2"
;;
freedict-fra-nld)
freedict="fra-nld"
freedictver="0.0.1"
srctar="fra-nld.tar.bz2"
;;
freedict-hun-eng)
freedict="hun-eng"
freedictver="0.0.1"
srctar="hun-eng.tar.bz2"
;;
freedict-iri-eng)
freedict="iri-eng"
freedictver="0.0.1"
srctar="iri-eng.tar.bz2"
;;
freedict-ita-deu)
freedict="ita-deu"
freedictver="0.0.1"
srctar="ita-deu.tar.bz2"
;;
freedict-jpn-deu)
freedict="jpn-deu"
freedictver="0.0.1"
srctar="jpn-deu.tar.bz2"
;;
freedict-kha-deu)
freedict="kha-deu"
freedictver="2nd. Online Draft"
srctar="kha-deu.tar.bz2"
;;
freedict-lat-deu)
freedict="lat-deu"
freedictver="0.0.1"
srctar="lat-deu.tar.bz2"
;;
freedict-lat-eng)
freedict="lat-eng"
freedictver="0.0.1"
srctar="lat-eng.tar.bz2"
;;
freedict-nld-deu)
freedict="nld-deu"
freedictver="0.0.1"
srctar="nld-deu.tar.bz2"
;;
freedict-nld-eng)
freedict="nld-eng"
freedictver="0.0.1"
srctar="nld-eng.tar.bz2"
;;
freedict-nld-fra)
freedict="nld-fra"
freedictver="0.0.1"
srctar="nld-fra.tar.bz2"
;;
freedict-por-deu)
freedict="por-deu"
freedictver="0.0.1"
srctar="por-deu.tar.bz2"
;;
freedict-por-eng)
freedict="por-eng"
freedictver="0.0.1"
srctar="por-eng.tar.bz2"
;;
freedict-sco-deu)
freedict="sco-deu"
freedictver="0.0.1"
srctar="sco-deu.tar.bz2"
;;
freedict-scr-eng)
freedict="scr-eng"
freedictver="0.0.1"
srctar="scr-eng.tar.bz2"
;;
freedict-slo-eng)
freedict="slo-eng"
freedictver="0.0.1"
srctar="slo-eng.tar.bz2"
;;
freedict-spa-eng)
freedict="spa-eng"
freedictver="0.0.1"
srctar="spa-eng.tar.bz2"
;;
freedict-swa-eng)
freedict="swa-eng"
freedictver="0.0.2"
srctar="swa-eng.tar.bz2"
;;
freedict-swe-eng)
freedict="swe-eng"
freedictver="0.0.1"
srctar="swe-eng.tar.bz2"
;;
freedict-tur-deu)
freedict="tur-deu"
freedictver="0.0.1"
srctar="tur-deu.tar.bz2"
;;
freedict-tur-eng)
freedict="tur-eng"
freedictver="0.0.1"
srctar="tur-eng.tar.bz2"
;;
esac

+ 49
- 0
package/import/freedict/hosted_freedict.txt

@ -0,0 +1,49 @@
afr-deu 0.0.1
afr-eng 0.0.1
cro-eng 0.0.3
cze-eng 0.0.1
dan-eng 0.0.1
deu-eng 0.0.1
deu-fra 0.0.1
deu-ita 0.0.1
deu-nld 0.0.1
deu-por 0.0.1
eng-afr 0.0.1
eng-ara 0.0.2
eng-deu 0.0.1
eng-fra 0.0.2
eng-hin 1.3
eng-hun 0.0.2
eng-iri 0.0.1
eng-ita 0.0.1
eng-lat 0.0.1
eng-nld 0.0.1
eng-por 0.0.1
eng-rom 0.0.1
eng-rus 0.0.1
eng-spa 0.0.1
eng-swe 0.0.1
eng-wel 0.0.1
fra-deu 0.0.1
fra-eng 0.0.1
fra-nld 0.0.1
hun-eng 0.0.1
iri-eng 0.0.1
ita-deu 0.0.1
jpn-deu 0.0.1
kha-deu 2nd. Online Draft
lat-deu 0.0.1
lat-eng 0.0.1
nld-deu 0.0.1
nld-eng 0.0.1
nld-fra 0.0.1
por-deu 0.0.1
por-eng 0.0.1
sco-deu 0.0.1
scr-eng 0.0.1
slo-eng 0.0.1
spa-eng 0.0.1
swa-eng 0.0.2
swe-eng 0.0.1
tur-deu 0.0.1
tur-eng 0.0.1

+ 5
- 0
package/import/freedict/pkgmapper.in

@ -0,0 +1,5 @@
if [ -z "${pkg##freedict-*}" ]; then
pkg=freedict
fi

Loading…
Cancel
Save