2 # Copyright (C) 2007-2009 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
).
tar.bz2
15 PKG_SOURCE_URL
:=@SF
/amule
16 PKG_MD5SUM
:=530d9b48187e36f78fc21bb19e94326d
18 PKG_BUILD_DEPENDS
:=libgd
20 include $(INCLUDE_DIR
)/package.mk
26 TITLE
:=A multi-platform eMule-like ed2k client
27 URL
:=http
://www.amule.org
/
28 DEPENDS
:=+libpng
+libpthread
+libncurses
+libreadline
+libwxbase
+libcryptoxx
40 --disable-monolithic \
41 --enable-amule-daemon \
43 --disable-amulecmdgui \
45 --disable-webservergui \
53 --disable-utf8-systray \
54 --enable-embedded-crypto \
59 --with-zlib
="$(STAGING_DIR)/usr" \
60 --with-gdlib-prefix
="$(STAGING_DIR)/usr" \
61 --with-libpng-prefix
="$(STAGING_DIR)/usr" \
62 --with-wx-prefix
="$(STAGING_DIR)/usr" \
63 --with-crypto-prefix
="$(STAGING_DIR)/usr" \
64 --without-libiconv-prefix \
65 --without-libintl-prefix \
69 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
71 DESTDIR
="$(PKG_INSTALL_DIR)" \
75 define Package
/amule
/install
76 $(INSTALL_DIR
) $(1)/usr
/bin
77 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/amule
{cmd
,d
,web
} $(1)/usr
/bin
/
78 $(INSTALL_DIR
) $(1)/usr
/share
79 $(CP
) $(PKG_INSTALL_DIR
)/usr
/share
/amule
$(1)/usr
/share
/
82 $(eval
$(call BuildPackage
,amule
))