1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-12-28 13:20:49 +02:00
openwrt-packages/mathomatic/Makefile
Xiangfu Liu 4650771084 add jiri.brozovsky ports.
Dialog, Mathomatic, Remind, GNU cal, units.
more info: http://fast10.vsb.cz/brozovsky/data/ports/

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-05-24 22:54:18 +08:00

42 lines
957 B
Makefile

# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $
include $(TOPDIR)/rules.mk
PKG_NAME:=mathomatic
PKG_VERSION:=15.0.5
PKG_RELEASE:=1
#http://www.panix.com/~gesslein/mathomatic-15.0.5.tar.bz2
PKG_SOURCE:=mathomatic-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.panix.com/~gesslein
PKG_MD5SUM:=e7dc6cc8dded760f41811aecf33cf2ea
PKG_CAT:=bzip2 -cd
PKG_BUILD_DIR:=$(BUILD_DIR)/mathomatic-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/mathomatic
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Mathomatic
URL:=http://www.panix.com/~gesslein/mathomatic-15.0.5.tar.bz2
endef
define Package/mathomatic/description
Computer algebra system.
endef
define Build/Configure
$(call Build/Configure/Default, \
--prefix=/usr --with-linux-headers="$(LINUX_DIR)" \
)
endef
define Package/mathomatic/install
$(INSTALL_DIR) $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mathomatic $(1)/usr/bin/
endef
$(eval $(call BuildPackage,mathomatic))