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:
902 bytes
|
| Line | |
|---|
| 1 | # $Id: Makefile 3622 2006-04-12 00:34:26Z nico $
|
|---|
| 2 |
|
|---|
| 3 | include $(TOPDIR)/rules.mk
|
|---|
| 4 |
|
|---|
| 5 | PKG_NAME:=udp-broadcast-relay
|
|---|
| 6 | PKG_VERSION:=0.3
|
|---|
| 7 | PKG_RELEASE:=1
|
|---|
| 8 | PKG_MD5SUM:=a32f983b7063d6ac670e6b22be9b9d24
|
|---|
| 9 |
|
|---|
| 10 | PKG_SOURCE_URL:=http://www.joachim-breitner.de/udp-broadcast-relay/files/
|
|---|
| 11 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 | include $(TOPDIR)/package/rules.mk
|
|---|
| 15 |
|
|---|
| 16 | $(eval $(call PKG_template,UDP_BROADCAST_RELAY,udp-broadcast-relay,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 17 |
|
|---|
| 18 | $(WRKBUILD)/.configured:
|
|---|
| 19 | touch $@
|
|---|
| 20 |
|
|---|
| 21 | $(WRKBUILD)/.built:
|
|---|
| 22 | $(TARGET_CC) $(WRKBUILD)/main.c -o $(WRKBUILD)/$(PKG_NAME)
|
|---|
| 23 | touch $@
|
|---|
| 24 |
|
|---|
| 25 | $(IPKG_UDP_BROADCAST_RELAY):
|
|---|
| 26 | mkdir -p $(IDIR_UDP_BROADCAST_RELAY)/usr/sbin
|
|---|
| 27 | $(CP) $(WRKBUILD)/$(PKG_NAME) $(IDIR_UDP_BROADCAST_RELAY)/usr/sbin/
|
|---|
| 28 | $(STRIP) $(IDIR_UDP_BROADCAST_RELAY)/usr/sbin/*
|
|---|
| 29 | $(IPKG_BUILD) $(IDIR_UDP_BROADCAST_RELAY) $(PACKAGE_DIR)
|
|---|
| 30 |
|
|---|
| 31 | mostlyclean:
|
|---|
| 32 | $(MAKE) -C $(WRKBUILD) clean
|
|---|
| 33 | rm -f $(WRKBUILD)/.built
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.