2010-07-23 14:45:13 +03:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=quickcalc
|
2012-10-12 20:44:28 +03:00
|
|
|
PKG_VERSION:=1.28
|
2010-07-23 14:45:13 +03:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2012-10-12 20:44:28 +03:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=ftp://ftp.ac-grenoble.fr/ge/mathematics/
|
|
|
|
PKG_MD5SUM:=1d89b963c84d6cd32918da8a779f3f24
|
2010-07-23 14:45:13 +03:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/quickcalc
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
TITLE:=QuickCalc
|
|
|
|
URL:=http://freshmeat.net/projects/quickcalc
|
|
|
|
DEPENDS:=+libreadline +libncurses
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/quickcalc/description
|
|
|
|
Computer algebra system.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
$(call Build/Compile/Default, \
|
|
|
|
CFLAGS="-I$(STAGING_DIR)/usr/include -O2 " \
|
|
|
|
LDFLAGS="-L$(STAGING_DIR)/usr/lib " \
|
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
define Package/quickcalc/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/qc $(1)/usr/bin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,quickcalc))
|