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
21 include $(INCLUDE_DIR
)/nls.mk
27 TITLE
:=A multi-platform eMule-like ed2k client
28 URL
:=http
://www.amule.org
/
29 DEPENDS
:=+libpng
+libpthread
+libncurses
+libreadline
+libwxbase
+libcryptoxx
41 --disable-monolithic \
42 --enable-amule-daemon \
44 --disable-amulecmdgui \
46 --disable-webservergui \
54 --disable-utf8-systray \
55 --enable-embedded-crypto \
60 --with-zlib
="$(STAGING_DIR)/usr" \
61 --with-gdlib-prefix
="$(STAGING_DIR)/usr" \
62 --with-libpng-prefix
="$(STAGING_DIR)/usr" \
63 --with-wx-prefix
="$(STAGING_DIR)/usr" \
64 --with-crypto-prefix
="$(STAGING_DIR)/usr" \
65 --with-libiconv-prefix
="$(ICONV_PREFIX)" \
66 --with-libintl-prefix
="$(INTL_PREFIX)" \
73 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
75 DESTDIR
="$(PKG_INSTALL_DIR)" \
79 define Package
/amule
/install
80 $(INSTALL_DIR
) $(1)/usr
/bin
81 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/amule
{cmd
,d
,web
} $(1)/usr
/bin
/
82 $(INSTALL_DIR
) $(1)/usr
/share
83 $(CP
) $(PKG_INSTALL_DIR
)/usr
/share
/amule
$(1)/usr
/share
/
86 $(eval
$(call BuildPackage
,amule
))