2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).orig.
tar.gz
15 PKG_SOURCE_URL
:=ftp
://ftp.debian.org
/debian
/pool
/main
/b
/bc
16 PKG_MD5SUM
:=ea7704fc02b359ce92fa4360c802fb23
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/bc
/Default
25 URL
:=http
://packages.debian.org
/sid
/bc
29 $(call Package
/bc
/Default
)
30 TITLE
:=Arbitrary precision calculator language
33 define Package
/bc
/description
34 bc is a language that supports arbitrary precision numbers with interactive
35 execution of statements.
39 $(call Package
/bc
/Default
)
41 TITLE
:=Arbitrary precision reverse-polish calculator
44 define Package
/dc
/description
45 dc is a reverse-polish desk calculator which supports unlimited precision
49 define Package
/bc
/install
50 $(INSTALL_DIR
) $(1)/usr
/bin
51 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/bc
/bc
$(1)/usr
/bin
/
54 define Package
/dc
/install
55 $(INSTALL_DIR
) $(1)/usr
/bin
56 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/dc
/dc
$(1)/usr
/bin
/
59 $(eval
$(call BuildPackage
,bc
))
60 $(eval
$(call BuildPackage
,dc
))