source: freewrt/package/igmpproxy/Makefile@ c8b93bd

freewrt_1_0 freewrt_2_0
Last change on this file since c8b93bd was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent

git-svn-id: svn://www.freewrt.org/trunk/freewrt@600 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 999 bytes
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= igmpproxy
10PKG_VERSION:= 0.1-beta2
11PKG_RELEASE:= 1
12PKG_MD5SUM:= 2a5a59480f44d4b14077a6b5319e9940
13
14PKG_SOURCE_URL:= @SF/igmpproxy
15PKG_SOURCE:= $(PKG_NAME)-src-$(PKG_VERSION).tar.gz
16
17WRKSRC= ${WRKDIR}/$(PKG_NAME)
18
19include $(TOPDIR)/mk/package.mk
20
21$(eval $(call PKG_template,IGMPPROXY,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
22
23$(WRKBUILD)/.configured:
24 touch $@
25
26$(WRKBUILD)/.built:
27 $(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" -C $(WRKBUILD)/src
28 touch $@
29
30$(IPKG_IGMPPROXY):
31 mkdir -p $(IDIR_IGMPPROXY)/usr/sbin $(IDIR_IGMPPROXY)/etc
32 $(CP) $(WRKBUILD)/src/$(PKG_NAME) $(IDIR_IGMPPROXY)/usr/sbin/
33 $(CP) $(WRKBUILD)/src/$(PKG_NAME).conf $(IDIR_IGMPPROXY)/etc
34 $(RSTRIP) $(IDIR_IGMPPROXY)
35 $(IPKG_BUILD) $(IDIR_IGMPPROXY) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.