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