From 7858183155b6fef8f44c4cae7aeb7e74c3668b3f Mon Sep 17 00:00:00 2001 From: Xiangfu Date: Fri, 15 Jun 2012 22:27:55 +0800 Subject: [PATCH] new package: bitcoin: initial port, not finish yet --- bitcoin/Makefile | 51 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 bitcoin/Makefile diff --git a/bitcoin/Makefile b/bitcoin/Makefile new file mode 100644 index 0000000..1abaaa9 --- /dev/null +++ b/bitcoin/Makefile @@ -0,0 +1,51 @@ +# +# Copyright (C) 2009 Qi Hardware Inc. +# Author: Xiangfu Liu +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. + +include $(TOPDIR)/rules.mk + +PKG_NAME:=bitcoin +PKG_VERSION:=0.6.2 +PKG_RELEASE:=1 + +PKG_REV:=790fe2e558d93572f87b7f4117a54d899903c5bf +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz +PKG_SOURCE_URL:=git://projects.qi-hardware.com/gmenu2x.git +PKG_SOURCE_PROTO:=git +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_VERSION:=$(PKG_REV) + +PKG_FIXUP:=autoreconf + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk + +define Package/bitcoin + TITLE:=bitcoin + SUBMENU:=Web + SECTION:=network + CATEGORY:=Network + URL:=http://bitcoin.sourceforge.net/ + DEPENDS:= +endef + +define Package/bitcoin/description + Bitcoin is an experimental new digital currency that enables instant payments to anyone, anywhere in the world. +endef + +CONFIGURE_ARGS += +TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib + +define Build/Configure + $(call Build/Configure/Default) +endef + +define Package/bitcoin/install + $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib/bitcoin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/bitcoin $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,bitcoin))