OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 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 | |
| 18 | include $(TOPDIR)/rules.mk |
| 19 | |
| 20 | PKG_NAME:=lojban-wordlists |
| 21 | PKG_VERSION:=20050628 |
| 22 | PKG_RELEASE:=1 |
| 23 | |
| 24 | PKG_SOURCE_URL:=http://www.lojban.org/publications |
| 25 | |
| 26 | include $(INCLUDE_DIR)/host-build.mk |
| 27 | include $(INCLUDE_DIR)/package.mk |
| 28 | |
| 29 | define 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 |
| 36 | endef |
| 37 | |
| 38 | define Package/jbofihe/description |
| 39 | cmavo, gismu, lujvo, and rafsi, wordlists for Lojban. |
| 40 | endef |
| 41 | |
| 42 | CMAVO:=cmavo.txt |
| 43 | GISMU:=gismu.txt |
| 44 | LUJVO:=lujvo.txt |
| 45 | NORALUJV:=NORALUJV.txt |
| 46 | RAFSI:=rafsi.txt |
| 47 | |
| 48 | define Download/cmavo |
| 49 | FILE:=$(CMAVO) |
| 50 | URL:=$(PKG_SOURCE_URL)/wordlists |
| 51 | MD5SUM:=d5b434ac9f3f75879ecb0d1fbcf86d47 |
| 52 | endef |
| 53 | |
| 54 | define Download/gismu |
| 55 | FILE:=$(GISMU) |
| 56 | URL:=$(PKG_SOURCE_URL)/wordlists |
| 57 | MD5SUM:=4edb4480ad5c26cfd1bfd492f6f95de1 |
| 58 | endef |
| 59 | |
| 60 | define Download/lujvo |
| 61 | FILE:=$(LUJVO) |
| 62 | URL:=$(PKG_SOURCE_URL)/wordlists |
| 63 | MD5SUM:=dbd82f42f4156a2a1801e2a5ec1e551e |
| 64 | endef |
| 65 | |
| 66 | define Download/noralujv |
| 67 | FILE:=$(NORALUJV) |
| 68 | URL:=$(PKG_SOURCE_URL)/draft-dictionary |
| 69 | MD5SUM:=d750de398740a2ba701422a466ddbeab |
| 70 | endef |
| 71 | |
| 72 | define Download/rafsi |
| 73 | FILE:=$(RAFSI) |
| 74 | URL:=$(PKG_SOURCE_URL)/wordlists |
| 75 | MD5SUM:=e4ec80a41f3016a561a904dfa1fbbd8d |
| 76 | endef |
| 77 | |
| 78 | define 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)) |
| 84 | endef |
| 85 | |
| 86 | define Host/Configure |
| 87 | endef |
| 88 | |
| 89 | define Host/Compile |
| 90 | endef |
| 91 | |
| 92 | define 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 |
| 103 | endef |
| 104 | |
| 105 | define Build/Configure |
| 106 | endef |
| 107 | |
| 108 | define Build/Compile |
| 109 | endef |
| 110 | |
| 111 | define 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 |
| 122 | endef |
| 123 | |
| 124 | $(eval $(call HostBuild)) |
| 125 | $(eval $(call BuildPackage,lojban-wordlists)) |
| 126 |
