Root/hp48cc/Makefile

1include $(TOPDIR)/rules.mk
2
3PKG_NAME:=hp48cc
4PKG_VERSION:=1.3
5PKG_RELEASE:=1
6
7PKG_SOURCE:=hp48cc-$(PKG_VERSION).tar.gz
8PKG_SOURCE_URL:=http://www.sigala.it/sandro/files/
9PKG_MD5SUM:=23f41a6168d3c17ea50537fe6ec2124a
10PKG_CAT:=zcat
11
12PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
13
14include $(INCLUDE_DIR)/package.mk
15
16define Package/hp48cc
17    SECTION:=devel
18    CATEGORY:=Development
19    TITLE:=hp48cc
20    URL:=http://www.sigala.it/sandro/software.php
21endef
22
23define Package/hp48cc/description
24    hp48cc is a C-like compiler that translates the input code into the HP48 RPN language.
25endef
26
27define Build/Configure
28    $(call Build/Configure/Default)
29endef
30
31define Package/hp48cc/install
32    $(INSTALL_DIR) $(1)/usr/bin/
33    $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/hp48cc $(1)/usr/bin/
34    $(INSTALL_DIR) $(1)/usr/share/
35    $(INSTALL_DIR) $(1)/usr/share/hp48cc/
36    $(INSTALL_DIR) $(1)/usr/share/hp48cc/examples/
37    $(INSTALL_BIN) $(PKG_BUILD_DIR)/examples/* $(1)/usr/share/hp48cc/examples/
38    $(INSTALL_BIN) $(PKG_BUILD_DIR)/COPYING $(1)/usr/share/hp48cc/
39    $(INSTALL_BIN) $(PKG_BUILD_DIR)/COPYRIGHT $(1)/usr/share/hp48cc/
40endef
41
42$(eval $(call BuildPackage,hp48cc))
43

Archive Download this file



interactive