1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-25 22:03:09 +02:00

Updated to current version.

This commit is contained in:
Jiri Brozovsky 2010-11-15 20:21:16 +01:00
parent c8743e0e76
commit 28284003e3

View File

@ -1,43 +1,43 @@
# $Id: Makefile 2010-07-02 00:29:07Z Jirka $
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=mathomatic PKG_NAME:=mathomatic
PKG_VERSION:=15.1.4 PKG_VERSION:=15.3.4
PKG_RELEASE:=3 PKG_RELEASE:=1
#http://mathomatic.org/mathomatic-15.1.4.tar.bz2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=mathomatic-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.panix.com/~gesslein PKG_SOURCE_URL:=http://mathomatic.org
PKG_MD5SUM:=a844d982bcfe120bf7987e90495f8f1e PKG_MD5SUM:=cbffaca1634cc50e227dfbcdb0c644dd
PKG_CAT:=bzip2 -cd PKG_CAT:=bzip2 -cd
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/mathomatic-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/mathomatic define Package/mathomatic
SECTION:=utils SECTION:=utils
CATEGORY:=Utilities CATEGORY:=Utilities
TITLE:=Calc TITLE:=Small computer algebra system.
URL:=http://www.panix.com/~gesslein/ URL:=http://www.mathomatic.org
DEPENDS:=+libreadline DEPENDS:=+libreadline
endef endef
define Package/mathomatic/description define Package/mathomatic/description
Computer algebra system. Computer algebra system.
endef endef
define Build/Configure define Build/Configure
$(call Build/Compile/Default, \ $(call Build/Compile/Default, \
READLINE=1\ READLINE=1\
HANDHELD=1\ HANDHELD=1\
) )
endef endef
define Package/mathomatic/install define Package/mathomatic/install
$(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_DIR) $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mathomatic $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/mathomatic $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/m4/rmath $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/m4/functions.m4 $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/m4/matho $(1)/usr/bin/
endef endef
$(eval $(call BuildPackage,mathomatic)) $(eval $(call BuildPackage,mathomatic))