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
:=31724290a440943f5b05d4dca413fe02
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
40 --disable-monolithic \
41 --enable-amule-daemon \
51 --disable-plasmamule \
54 --with-zlib
="$(STAGING_DIR)/usr" \
55 --with-gdlib-prefix
="$(STAGING_DIR)/usr" \
56 --with-libpng-prefix
="$(STAGING_DIR)/usr" \
57 --with-wx-prefix
="$(STAGING_DIR)/usr" \
58 --with-crypto-prefix
="$(STAGING_DIR)/usr" \
59 --with-libiconv-prefix
="$(ICONV_PREFIX)" \
60 --with-libintl-prefix
="$(INTL_PREFIX)" \
67 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
69 DESTDIR
="$(PKG_INSTALL_DIR)" \
73 define Package
/amule
/install
74 $(INSTALL_DIR
) $(1)/usr
/bin
75 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/amule
{cmd
,d
,web
} $(1)/usr
/bin
/
76 $(INSTALL_DIR
) $(1)/usr
/share
77 $(CP
) $(PKG_INSTALL_DIR
)/usr
/share
/amule
$(1)/usr
/share
/
80 $(eval
$(call BuildPackage
,amule
))