freewrt_1_0
freewrt_2_0
|
Last change
on this file since d419478 was d419478, checked in by Thorsten Glaser <tg@…>, 19 years ago |
- whitespace cleanup, while here
- move WRKDIR and DISTFILES definition into PKG_template
- define WRKDIR via parent BUILD_DIR instead of going up from WRKSRC
- use a sub-directory as WRKDIR, like BSD
- rename PKG_BUILD_DIR into WRKBUILD
- define WRKBUILD relative via WRKDIR
- rename PKG_INSTALL_DIR into WRKINST
- fix a few dependencies
- make use of common cases in the definition of WRKBUILD and
WRKINST, removing many redundant lines
- use WRKDIR instead of BUILD_DIR in places where the latter
was used previously
- while here, remove PKG_CAT stuff
this only affects packages, for now
git-svn-id: svn://www.freewrt.org/trunk/freewrt@303 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
848 bytes
|
| Line | |
|---|
| 1 | # $Id: Makefile 3622 2006-04-12 00:34:26Z nico $
|
|---|
| 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 | WRKBUILD:=${WRKDIR}/$(PKG_NAME)
|
|---|
| 13 |
|
|---|
| 14 | include $(TOPDIR)/package/rules.mk
|
|---|
| 15 |
|
|---|
| 16 | $(eval $(call PKG_template,IGMPPROXY,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 17 |
|
|---|
| 18 | $(WRKBUILD)/.configured:
|
|---|
| 19 | touch $@
|
|---|
| 20 |
|
|---|
| 21 | $(WRKBUILD)/.built:
|
|---|
| 22 | $(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" -C $(WRKBUILD)/src
|
|---|
| 23 | touch $@
|
|---|
| 24 |
|
|---|
| 25 | $(IPKG_IGMPPROXY):
|
|---|
| 26 | mkdir -p $(IDIR_IGMPPROXY)/usr/sbin $(IDIR_IGMPPROXY)/etc
|
|---|
| 27 | $(CP) $(WRKBUILD)/src/$(PKG_NAME) $(IDIR_IGMPPROXY)/usr/sbin/
|
|---|
| 28 | $(CP) $(WRKBUILD)/src/$(PKG_NAME).conf $(IDIR_IGMPPROXY)/etc
|
|---|
| 29 | $(STRIP) $(IDIR_IGMPPROXY)/usr/sbin/*
|
|---|
| 30 | $(IPKG_BUILD) $(IDIR_IGMPPROXY) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.