OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | include $(TOPDIR)/rules.mk |
| 2 | |
| 3 | PKG_NAME:=quickcalc |
| 4 | PKG_VERSION:=1.28 |
| 5 | PKG_RELEASE:=1 |
| 6 | |
| 7 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
| 8 | PKG_SOURCE_URL:=ftp://ftp.ac-grenoble.fr/ge/mathematics/ |
| 9 | PKG_MD5SUM:=1d89b963c84d6cd32918da8a779f3f24 |
| 10 | |
| 11 | include $(INCLUDE_DIR)/package.mk |
| 12 | |
| 13 | define Package/quickcalc |
| 14 | SECTION:=utils |
| 15 | CATEGORY:=Utilities |
| 16 | TITLE:=QuickCalc |
| 17 | URL:=http://freshmeat.net/projects/quickcalc |
| 18 | DEPENDS:=+libreadline +libncurses |
| 19 | endef |
| 20 | |
| 21 | define Package/quickcalc/description |
| 22 | Computer algebra system. |
| 23 | endef |
| 24 | |
| 25 | define Build/Configure |
| 26 | $(call Build/Compile/Default, \ |
| 27 | CFLAGS="-I$(STAGING_DIR)/usr/include -O2 " \ |
| 28 | LDFLAGS="-L$(STAGING_DIR)/usr/lib " \ |
| 29 | ) |
| 30 | endef |
| 31 | |
| 32 | |
| 33 | define Package/quickcalc/install |
| 34 | $(INSTALL_DIR) $(1)/usr/bin/ |
| 35 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/qc $(1)/usr/bin/ |
| 36 | endef |
| 37 | |
| 38 | $(eval $(call BuildPackage,quickcalc)) |
| 39 |
