Added dhcp6, an IPv6 implementation of the dhcp server and client
[openwrt.git] / openwrt / package / reaim / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=reaim
6 PKG_VERSION:=0.8
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=647d2ab72ec454f89294accfb3182c09
9
10 PKG_SOURCE_URL:=@SF/reaim
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
16
17 include $(TOPDIR)/package/rules.mk
18
19 $(eval $(call PKG_template,REAIM,reaim,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21 $(PKG_BUILD_DIR)/.configured:
22 touch $@
23
24 $(PKG_BUILD_DIR)/.built:
25 rm -rf $(PKG_INSTALL_DIR)
26 mkdir -p $(PKG_INSTALL_DIR)
27 $(MAKE) -C $(PKG_BUILD_DIR) \
28 CC=$(TARGET_CC) \
29 CFLAGS="$(TARGET_CFLAGS)" \
30 DESTDIR="$(PKG_INSTALL_DIR)" \
31 all install
32 touch $@
33
34 $(IPKG_REAIM):
35 install -d -m0755 $(IDIR_REAIM)/etc/init.d
36 install -m0755 ./files/reaim.init $(IDIR_REAIM)/etc/init.d/reaim
37 ln -sf reaim $(IDIR_REAIM)/etc/init.d/S63reaim
38 install -d -m0755 $(IDIR_REAIM)/usr/sbin
39 cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/reaim $(IDIR_REAIM)/usr/sbin/
40 $(RSTRIP) $(IDIR_REAIM)
41 $(IPKG_BUILD) $(IDIR_REAIM) $(PACKAGE_DIR)
42
This page took 0.047758 seconds and 5 git commands to generate.