summaryrefslogtreecommitdiff
path: root/makfa
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2011-01-02 23:27:23 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2011-01-02 23:27:23 +0100
commit9352995934adec8059077af241c35ccd1573bd80 (patch)
tree60286e266b3b31b90b952ac37e12a1ebbcdd2eb6 /makfa
parentef3b84d78197acbd45d73a9b1ae44b47b5904290 (diff)
parent880bca260c4ce91554a49b2475232cf5c0ffd447 (diff)
downloadqipackages-fork-9352995934adec8059077af241c35ccd1573bd80.tar.gz
Merge branch 'master' of git://projects.qi-hardware.com/openwrt-packagesHEADmaster
Conflicts: links/Makefile
Diffstat (limited to 'makfa')
-rw-r--r--makfa/Makefile33
1 files changed, 27 insertions, 6 deletions
diff --git a/makfa/Makefile b/makfa/Makefile
index aaabc8d..506e3b5 100644
--- a/makfa/Makefile
+++ b/makfa/Makefile
@@ -1,8 +1,18 @@
#
-# Copyright (C) 2010 qi-hardware.com
+# Copyright (C) 2010 Alan Post <alanpost@sunflowerriver.org>
#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
+# 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
@@ -21,10 +31,17 @@ PKG_SOURCE_VERSION:=$(PKG_REV)
include $(INCLUDE_DIR)/package.mk
define Package/makfa
- SECTION:=education
- CATEGORY:=Education
TITLE:=Lojban Dictionary
URL:=http://gittub.com/lojban/makfa-cli
+ MAINTAINER:=".alyn.post" <alyn.post@lodockikumazvati.org>
+ CATEGORY:=Languages
+ SUBMENU:=Lojban
+ SECTION:=lang
+ DEPENDS:=+python
+endef
+
+define Package/jbofihe/description
+ A Lojban dictionary.
endef
define Build/Configure
@@ -34,7 +51,7 @@ endef
# on the host machine and copy it into the package.
#
define Build/Compile
- $(PYTHON) $(PKG_BUILD_DIR)/makfa update en $(PKG_BUILD_DIR)/makfa.dump
+ python $(PKG_BUILD_DIR)/makfa update en $(PKG_BUILD_DIR)/makfa.dump
endef
define Package/makfa/install
@@ -51,4 +68,8 @@ define Package/makfa/install
$(1)/usr/share/$(PKG_NAME)/
endef
+$(eval $(call RequireCommand,python, \
+ Please install Python 2.x \
+))
+
$(eval $(call BuildPackage,makfa))