Ticket #7463: php5uMz5T

File php5uMz5T, 2.6 KB (added by anonymous, 7 years ago)

SVN patch with Makefile

Line 
1Index: packages/net/amule-adunanza/patches/001-no_backtrace.patch
2===================================================================
3--- packages/net/amule-adunanza/patches/001-no_backtrace.patch  (revisión: 0)
4+++ packages/net/amule-adunanza/patches/001-no_backtrace.patch  (revisión: 0)
5@@ -0,0 +1,11 @@
6+--- a/src/libs/common/MuleDebug.cpp
7++++ b/src/libs/common/MuleDebug.cpp
8+@@ -168,7 +168,7 @@ wxString get_backtrace(unsigned n)
9+       return walker.m_trace;
10+ }
11+
12+-#elif defined(__LINUX__)
13++#elif defined(__LINUX__) && !defined(__UCLIBC__)
14+
15+ #ifdef HAVE_BFD
16+
17Index: packages/net/amule-adunanza/Makefile
18===================================================================
19--- packages/net/amule-adunanza/Makefile        (revisión: 0)
20+++ packages/net/amule-adunanza/Makefile        (revisión: 0)
21@@ -0,0 +1,73 @@
22+#
23+# Copyright (C) 2007-2009 OpenWrt.org
24+#
25+# This is free software, licensed under the GNU General Public License v2.
26+# See /LICENSE for more information.
27+#
28+
29+include $(TOPDIR)/rules.mk
30+
31+PKG_NAME:=aMule-AdunanzA
32+PKG_VERSION:=2010.1-2.2.6
33+PKG_RELEASE:=1
34+
35+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
36+PKG_SOURCE_URL:=@SF/amule-adunanza
37+PKG_MD5SUM:=9156f5c8f7f70269e3c328c05146a3e7
38+
39+PKG_BUILD_DEPENDS:=libgd
40+
41+include $(INCLUDE_DIR)/package.mk
42+
43+define Package/amule-adunanza
44+  SUBMENU:=P2P
45+  SECTION:=net
46+  CATEGORY:=Network
47+  TITLE:=A multi-platform eMule-like ed2k client (AdunanzA mod)
48+  URL:=http://www.adunanza.net/
49+  DEPENDS:=+libpng +libpthread +libncurses +libreadline +libwxbase +libcryptoxx
50+endef
51+
52+CONFIGURE_ARGS+= \
53+       --disable-static \
54+       --disable-rpath \
55+       --with-gnu-ld \
56+       --disable-ccache \
57+       --disable-debug \
58+       --disable-optimize \
59+       --disable-profile \
60+       --disable-monolithic \
61+       --enable-amule-daemon \
62+       --enable-amulecmd \
63+       --enable-webserver \
64+       --disable-amule-gui \
65+       --disable-cas \
66+       --disable-wxcas \
67+       --disable-ed2k \
68+       --disable-alc \
69+       --disable-alcc \
70+       \
71+       --with-zlib="$(STAGING_DIR)/usr" \
72+       --with-gdlib-prefix="$(STAGING_DIR)/usr" \
73+       --with-libpng-prefix="$(STAGING_DIR)/usr" \
74+       --with-wx-prefix="$(STAGING_DIR)/usr" \
75+       --with-crypto-prefix="$(STAGING_DIR)/usr" \
76+       --without-libiconv-prefix \
77+       --without-libintl-prefix \
78+       --without-x \
79+
80+define Build/Compile
81+       $(MAKE) -C $(PKG_BUILD_DIR) \
82+               HOSTCC="$(HOSTCC)" \
83+               DESTDIR="$(PKG_INSTALL_DIR)" \
84+               all install
85+endef
86+
87+define Package/amule-adunanza/install
88+       $(INSTALL_DIR) $(1)/usr/bin
89+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/amule{cmd,d,web} $(1)/usr/bin/
90+       $(INSTALL_DIR) $(1)/usr/share
91+       $(CP) $(PKG_INSTALL_DIR)/usr/share/amuleadunanza $(1)/usr/share/
92+endef
93+
94+$(eval $(call BuildPackage,amule-adunanza))