OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
1 | # |
2 | # Copyright (C) 2009 Qi Hardware Inc. |
3 | # Author: Xiangfu Liu <xiangfu@qi-hardware.com> |
4 | # |
5 | # This is free software, licensed under the GNU General Public License v2. |
6 | # See /LICENSE for more information. |
7 | |
8 | include $(TOPDIR)/rules.mk |
9 | |
10 | PKG_NAME:=bitcoin |
11 | PKG_VERSION:=0.6.2 |
12 | PKG_RELEASE:=1 |
13 | |
14 | PKG_REV:=790fe2e558d93572f87b7f4117a54d899903c5bf |
15 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz |
16 | PKG_SOURCE_URL:=git://projects.qi-hardware.com/gmenu2x.git |
17 | PKG_SOURCE_PROTO:=git |
18 | PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) |
19 | PKG_SOURCE_VERSION:=$(PKG_REV) |
20 | |
21 | PKG_FIXUP:=autoreconf |
22 | |
23 | include $(INCLUDE_DIR)/package.mk |
24 | include $(INCLUDE_DIR)/nls.mk |
25 | |
26 | define Package/bitcoin |
27 | TITLE:=bitcoin |
28 | SUBMENU:=Web |
29 | SECTION:=network |
30 | CATEGORY:=Network |
31 | URL:=http://bitcoin.sourceforge.net/ |
32 | DEPENDS:= |
33 | endef |
34 | |
35 | define Package/bitcoin/description |
36 | Bitcoin is an experimental new digital currency that enables instant payments to anyone, anywhere in the world. |
37 | endef |
38 | |
39 | CONFIGURE_ARGS += |
40 | TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib |
41 | |
42 | define Build/Configure |
43 | $(call Build/Configure/Default) |
44 | endef |
45 | |
46 | define Package/bitcoin/install |
47 | $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib/bitcoin |
48 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/bitcoin $(1)/usr/bin/ |
49 | endef |
50 | |
51 | $(eval $(call BuildPackage,bitcoin)) |
52 |