Root/lojban-wordlists/Makefile

Source at commit 1b3135c created 12 years 5 months ago.
By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries
1#
2# Copyright (C) 2010 Alan Post <alanpost@sunflowerriver.org>
3#
4# This program is free software: you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation, either version 3 of the License, or
7# (at your option) any later version.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with this program. If not, see <http://www.gnu.org/licenses/>.
16#
17
18include $(TOPDIR)/rules.mk
19
20PKG_NAME:=lojban-wordlists
21PKG_VERSION:=20050628
22PKG_RELEASE:=1
23
24PKG_SOURCE_URL:=http://www.lojban.org/publications
25
26include $(INCLUDE_DIR)/host-build.mk
27include $(INCLUDE_DIR)/package.mk
28
29define Package/lojban-wordlists
30  TITLE:=Lojban word lists
31  URL:=http://www.lojban.org/
32  MAINTAINER:=".alyn.post" <alyn.post@lodockikumazvati.org>
33  CATEGORY:=Languages
34  SUBMENU:=Lojban
35  SECTION:=lang
36endef
37
38define Package/jbofihe/description
39  cmavo, gismu, lujvo, and rafsi, wordlists for Lojban.
40endef
41
42CMAVO:=cmavo.txt
43GISMU:=gismu.txt
44LUJVO:=lujvo.txt
45NORALUJV:=NORALUJV.txt
46RAFSI:=rafsi.txt
47
48define Download/cmavo
49  FILE:=$(CMAVO)
50  URL:=$(PKG_SOURCE_URL)/wordlists
51  MD5SUM:=d5b434ac9f3f75879ecb0d1fbcf86d47
52endef
53
54define Download/gismu
55  FILE:=$(GISMU)
56  URL:=$(PKG_SOURCE_URL)/wordlists
57  MD5SUM:=4edb4480ad5c26cfd1bfd492f6f95de1
58endef
59
60define Download/lujvo
61  FILE:=$(LUJVO)
62  URL:=$(PKG_SOURCE_URL)/wordlists
63  MD5SUM:=dbd82f42f4156a2a1801e2a5ec1e551e
64endef
65
66define Download/noralujv
67  FILE:=$(NORALUJV)
68  URL:=$(PKG_SOURCE_URL)/draft-dictionary
69  MD5SUM:=d750de398740a2ba701422a466ddbeab
70endef
71
72define Download/rafsi
73  FILE:=$(RAFSI)
74  URL:=$(PKG_SOURCE_URL)/wordlists
75  MD5SUM:=e4ec80a41f3016a561a904dfa1fbbd8d
76endef
77
78define Download/default
79  $(eval $(call Download,cmavo))
80  $(eval $(call Download,gismu))
81  $(eval $(call Download,lujvo))
82  $(eval $(call Download,noralujv))
83  $(eval $(call Download,rafsi))
84endef
85
86define Host/Configure
87endef
88
89define Host/Compile
90endef
91
92define Host/Install
93    $(INSTALL_DIR) \
94        $(STAGING_DIR_HOST)/usr/share/lojban
95
96    $(INSTALL_DATA) \
97        $(DL_DIR)/NORALUJV.txt \
98        $(DL_DIR)/cmavo.txt \
99        $(DL_DIR)/gismu.txt \
100        $(DL_DIR)/lujvo.txt \
101        $(DL_DIR)/rafsi.txt \
102        $(STAGING_DIR_HOST)/usr/share/lojban
103endef
104
105define Build/Configure
106endef
107
108define Build/Compile
109endef
110
111define Package/lojban-wordlists/install
112    $(INSTALL_DIR) \
113        $(1)/usr/share/lojban
114
115    $(INSTALL_DATA) \
116        $(DL_DIR)/NORALUJV.txt \
117        $(DL_DIR)/cmavo.txt \
118        $(DL_DIR)/gismu.txt \
119        $(DL_DIR)/lujvo.txt \
120        $(DL_DIR)/rafsi.txt \
121        $(1)/usr/share/lojban
122endef
123
124$(eval $(call HostBuild))
125$(eval $(call BuildPackage,lojban-wordlists))
126

Archive Download this file



interactive