mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 11:52:48 +02:00
makfa package python cleanup
* add a depend line. * check that python is installed. * call python directly, rather than using $(PYTHON) (I could find no use of the $PYTHON variable in any other packages.
This commit is contained in:
parent
a3c7562d28
commit
0847b73e5a
@ -27,6 +27,7 @@ define Package/makfa
|
||||
CATEGORY:=Languages
|
||||
SUBMENU:=Lojban
|
||||
SECTION:=lang
|
||||
DEPENDS:=+python
|
||||
endef
|
||||
|
||||
define Package/jbofihe/description
|
||||
@ -40,7 +41,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
|
||||
@ -57,4 +58,8 @@ define Package/makfa/install
|
||||
$(1)/usr/share/$(PKG_NAME)/
|
||||
endef
|
||||
|
||||
$(eval $(call RequireCommand,python, \
|
||||
Please install Python 2.x \
|
||||
))
|
||||
|
||||
$(eval $(call BuildPackage,makfa))
|
||||
|
Loading…
Reference in New Issue
Block a user