OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | # $Id: Makefile 2010-07-02 00:29:07Z Jirka $ |
| 2 | |
| 3 | include $(TOPDIR)/rules.mk |
| 4 | |
| 5 | PKG_NAME:=mathomatic |
| 6 | PKG_VERSION:=15.1.4 |
| 7 | PKG_RELEASE:=3 |
| 8 | #http://mathomatic.org/mathomatic-15.1.4.tar.bz2 |
| 9 | |
| 10 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
| 11 | PKG_SOURCE_URL:=http://www.panix.com/~gesslein |
| 12 | PKG_MD5SUM:=a844d982bcfe120bf7987e90495f8f1e |
| 13 | PKG_CAT:=bzip2 -cd |
| 14 | |
| 15 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
| 16 | |
| 17 | include $(INCLUDE_DIR)/package.mk |
| 18 | |
| 19 | define Package/mathomatic |
| 20 | SECTION:=utils |
| 21 | CATEGORY:=Utilities |
| 22 | TITLE:=Calc |
| 23 | URL:=http://www.panix.com/~gesslein/ |
| 24 | DEPENDS:=+libreadline |
| 25 | endef |
| 26 | |
| 27 | define Package/mathomatic/description |
| 28 | Computer algebra system. |
| 29 | endef |
| 30 | |
| 31 | define Build/Configure |
| 32 | $(call Build/Compile/Default, \ |
| 33 | READLINE=1\ |
| 34 | HANDHELD=1\ |
| 35 | ) |
| 36 | endef |
| 37 | |
| 38 | define Package/mathomatic/install |
| 39 | $(INSTALL_DIR) $(1)/usr/bin/ |
| 40 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/mathomatic $(1)/usr/bin/ |
| 41 | endef |
| 42 | |
| 43 | $(eval $(call BuildPackage,mathomatic)) |
| 44 |
