[packages] lighttpd:
[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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=reaim
11 PKG_VERSION:=0.8
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/reaim
16 PKG_MD5SUM:=647d2ab72ec454f89294accfb3182c09
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/reaim
21 SUBMENU:=Instant Messaging
22 SECTION:=net
23 CATEGORY:=Network
24 DEPENDS:=+iptables
25 TITLE:=A transparent AIM / MSN proxy
26 URL:=http://reaim.sourceforge.net/
27 endef
28
29 define Package/reaim/description
30 ReAIM is a proxy for file transfers with MSN/AIM.
31 endef
32
33 define Build/Compile
34 $(call Build/Compile/Default, \
35 CFLAGS="$(TARGET_CFLAGS)" \
36 DESTDIR="$(PKG_INSTALL_DIR)" \
37 all install \
38 )
39 endef
40
41 define Package/reaim/install
42 $(INSTALL_DIR) $(1)/usr/sbin
43 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/reaim $(1)/usr/sbin/
44 $(INSTALL_DIR) $(1)/etc/init.d
45 $(INSTALL_BIN) ./files/reaim.init $(1)/etc/init.d/reaim
46 endef
47
48 $(eval $(call BuildPackage,reaim))