clean up the openswan patch to work with older patch versions as well
[openwrt.git] / package / igmpproxy / Makefile
1 # $Id: Makefile 1084 2005-05-27 17:32:43Z florian $
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=igmpproxy
6 PKG_VERSION:=0.1-beta2
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=2a5a59480f44d4b14077a6b5319e9940
9
10 PKG_SOURCE_URL:=@SF/igmpproxy
11 PKG_SOURCE:=$(PKG_NAME)-src-$(PKG_VERSION).tar.gz
12 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
13 PKG_CAT:=zcat
14
15 include $(TOPDIR)/package/rules.mk
16
17 $(eval $(call PKG_template,IGMPPROXY,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
18
19 $(PKG_BUILD_DIR)/.configured:
20 touch $@
21
22 $(PKG_BUILD_DIR)/.built:
23 $(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR)/src
24 touch $@
25
26 $(IPKG_IGMPPROXY):
27 mkdir -p $(IDIR_IGMPPROXY)/usr/sbin $(IDIR_IGMPPROXY)/etc
28 $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(IDIR_IGMPPROXY)/usr/sbin/
29 $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME).conf $(IDIR_IGMPPROXY)/etc
30 $(STRIP) $(IDIR_IGMPPROXY)/usr/sbin/*
31 $(IPKG_BUILD) $(IDIR_IGMPPROXY) $(PACKAGE_DIR)
This page took 0.040876 seconds and 5 git commands to generate.