Root/quickcalc/Makefile

1include $(TOPDIR)/rules.mk
2
3PKG_NAME:=quickcalc
4PKG_VERSION:=1.26
5PKG_RELEASE:=1
6
7PKG_SOURCE:=quickcalc-$(PKG_VERSION).tgz
8    PKG_SOURCE_URL:=ftp://ftp.ac-grenoble.fr/ge/mathematics/
9    PKG_MD5SUM:=152599c038c06ecc11e7db9dad4d4dce
10    PKG_CAT:=zcat
11
12PKG_BUILD_DIR:=$(BUILD_DIR)/quickcalc-$(PKG_VERSION)
13
14include $(INCLUDE_DIR)/package.mk
15
16define Package/quickcalc
17    SECTION:=utils
18    CATEGORY:=Utilities
19    TITLE:=QuickCalc
20    URL:=http://freshmeat.net/projects/quickcalc
21    DEPENDS:=+libreadline +libncurses
22endef
23
24define Package/quickcalc/description
25    Computer algebra system.
26endef
27
28define Build/Configure
29        $(call Build/Compile/Default, \
30              CFLAGS="-I$(STAGING_DIR)/usr/include -O2 " \
31              LDFLAGS="-L$(STAGING_DIR)/usr/lib " \
32        )
33endef
34
35
36define Package/quickcalc/install
37    $(INSTALL_DIR) $(1)/usr/bin/
38    $(INSTALL_BIN) $(PKG_BUILD_DIR)/qc $(1)/usr/bin/
39endef
40
41$(eval $(call BuildPackage,quickcalc))
42

Archive Download this file



interactive