fix chillispot endianness bugs (thx, SeG), fixes #2404
[openwrt/svn-archive/archive.git] / net / reaim / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=reaim
12 PKG_VERSION:=0.8
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/reaim
17 PKG_MD5SUM:=647d2ab72ec454f89294accfb3182c09
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/reaim
26 SUBMENU:=Instant Messaging
27 SECTION:=net
28 CATEGORY:=Network
29 DEPENDS:=+iptables
30 TITLE:=A transparent AIM / MSN proxy
31 DESCRIPTION:=ReAIM is a proxy for file transfers with MSN/AIM.
32 URL:=http://reaim.sourceforge.net/
33 endef
34
35 define Build/Compile
36 $(call Build/Compile/Default, \
37 CFLAGS="$(TARGET_CFLAGS)" \
38 DESTDIR="$(PKG_INSTALL_DIR)" \
39 all install \
40 )
41 endef
42
43 define Package/reaim/install
44 $(INSTALL_DIR) $(1)/usr/sbin
45 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/reaim $(1)/usr/sbin/
46 $(INSTALL_DIR) $(1)/etc/init.d
47 $(INSTALL_BIN) ./files/reaim.init $(1)/etc/init.d/reaim
48 endef
49
50 $(eval $(call BuildPackage,reaim))