From 716ca530e1c4515d8683c9d5be3d56b301758b66 Mon Sep 17 00:00:00 2001 From: James <> Date: Wed, 4 Nov 2015 11:49:21 +0000 Subject: trunk-47381 --- tools/bc/Makefile | 21 +++++++++++++++++++++ tools/bc/patches/001-no_doc.patch | 23 +++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 tools/bc/Makefile create mode 100644 tools/bc/patches/001-no_doc.patch (limited to 'tools/bc') diff --git a/tools/bc/Makefile b/tools/bc/Makefile new file mode 100644 index 0000000..2e99b43 --- /dev/null +++ b/tools/bc/Makefile @@ -0,0 +1,21 @@ +# +# Copyright (C) 2013 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +include $(TOPDIR)/rules.mk + +PKG_NAME:=bc +PKG_VERSION:=1.06.95 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://alpha.gnu.org/gnu/bc \ + http://gnualpha.uib.no/bc/ \ + http://mirrors.fe.up.pt/pub/gnu-alpha/bc/ \ + http://www.nic.funet.fi/pub/gnu/alpha/gnu/bc/ +PKG_MD5SUM:=5126a721b73f97d715bb72c13c889035 + +include $(INCLUDE_DIR)/host-build.mk + +$(eval $(call HostBuild)) diff --git a/tools/bc/patches/001-no_doc.patch b/tools/bc/patches/001-no_doc.patch new file mode 100644 index 0000000..50deee8 --- /dev/null +++ b/tools/bc/patches/001-no_doc.patch @@ -0,0 +1,23 @@ +diff -urN bc-1.06.95/Makefile.am bc-1.06.95.new/Makefile.am +--- bc-1.06.95/Makefile.am 2005-05-27 01:05:41.000000000 +0100 ++++ bc-1.06.95.new/Makefile.am 2013-07-09 09:33:31.521490710 +0100 +@@ -1,6 +1,6 @@ + ## Process this file with automake to produce Makefile.in + +-SUBDIRS = lib bc dc doc ++SUBDIRS = lib bc dc + + MAINTAINERCLEANFILES = aclocal.m4 config.h.in configure Makefile.in \ + stamp-h $(distdir).tar.gz h/number.h depcomp missing +diff -urN bc-1.06.95/Makefile.in bc-1.06.95.new/Makefile.in +--- bc-1.06.95/Makefile.in 2006-09-05 03:39:30.000000000 +0100 ++++ bc-1.06.95.new/Makefile.in 2013-07-09 09:33:28.565490767 +0100 +@@ -149,7 +149,7 @@ + sharedstatedir = @sharedstatedir@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ +-SUBDIRS = lib bc dc doc ++SUBDIRS = lib bc dc + MAINTAINERCLEANFILES = aclocal.m4 config.h.in configure Makefile.in \ + stamp-h $(distdir).tar.gz h/number.h depcomp missing + -- cgit v1.2.3