Root/mathomatic/Makefile

1include $(TOPDIR)/rules.mk
2
3PKG_NAME:=mathomatic
4PKG_VERSION:=15.3.4
5PKG_RELEASE:=1
6
7PKG_SOURCE:=mathomatic-$(PKG_VERSION).tar.bz2
8PKG_SOURCE_URL:=http://mathomatic.org
9PKG_MD5SUM:=cbffaca1634cc50e227dfbcdb0c644dd
10PKG_CAT:=bzip2 -cd
11
12PKG_BUILD_DIR:=$(BUILD_DIR)/mathomatic-$(PKG_VERSION)
13
14include $(INCLUDE_DIR)/package.mk
15
16define Package/mathomatic
17  SECTION:=utils
18  CATEGORY:=Utilities
19  TITLE:=Small computer algebra system.
20  URL:=http://www.mathomatic.org
21  DEPENDS:=+libreadline +libncurses
22endef
23
24define Package/mathomatic/description
25  Computer algebra system.
26endef
27
28define Build/Configure
29        $(call Build/Compile/Default, \
30         READLINE=1\
31         HANDHELD=1\
32        )
33endef
34
35define Package/mathomatic/install
36    $(INSTALL_DIR) $(1)/usr/bin/
37    $(INSTALL_BIN) $(PKG_BUILD_DIR)/mathomatic $(1)/usr/bin/
38    $(INSTALL_BIN) $(PKG_BUILD_DIR)/m4/rmath $(1)/usr/bin/
39    $(INSTALL_BIN) $(PKG_BUILD_DIR)/m4/functions.m4 $(1)/usr/bin/
40    $(INSTALL_BIN) $(PKG_BUILD_DIR)/m4/matho $(1)/usr/bin/
41endef
42
43$(eval $(call BuildPackage,mathomatic))
44

Archive Download this file



interactive