source:
freewrt/package/robocfg/Makefile@
ed2dd9f
| Last change on this file since ed2dd9f was ed2dd9f, checked in by , 19 years ago | |
|---|---|
|
|
| File size: 667 bytes | |
| Rev | Line | |
|---|---|---|
| [475ad56] | 1 | # $Id: Makefile 2380 2005-11-07 17:52:28Z nbd $ |
| 2 | ||
| 3 | include $(TOPDIR)/rules.mk | |
| 4 | ||
| 5 | PKG_NAME:=robocfg | |
| 6 | PKG_VERSION:=0.01 | |
| 7 | PKG_RELEASE:=1 | |
| 8 | ||
| [ed2dd9f] | 9 | WRKSRC:=${WRKDIR}/robocfg |
| [475ad56] | 10 | |
| [65a5cdb] | 11 | DISTFILES:= |
| [475ad56] | 12 | include $(TOPDIR)/package/rules.mk |
| 13 | ||
| 14 | $(eval $(call PKG_template,ROBOCFG,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) | |
| 15 | ||
| [d419478] | 16 | $(WRKBUILD)/.prepared: |
| 17 | mkdir -p $(WRKBUILD) | |
| [475ad56] | 18 | touch $@ |
| 19 | ||
| [d419478] | 20 | $(WRKBUILD)/.configured: |
| [475ad56] | 21 | touch $@ |
| 22 | ||
| [d419478] | 23 | $(WRKBUILD)/.built: |
| 24 | $(TARGET_CC) $(TARGET_CFLAGS) -o $(WRKBUILD)/robocfg robocfg.c | |
| [475ad56] | 25 | touch $@ |
| 26 | ||
| 27 | $(IPKG_ROBOCFG): | |
| 28 | install -d -m0755 $(IDIR_ROBOCFG)/sbin | |
| [d419478] | 29 | install -m0755 $(WRKBUILD)/robocfg $(IDIR_ROBOCFG)/sbin/ |
| [475ad56] | 30 | $(RSTRIP) $(IDIR_ROBOCFG) |
| 31 | $(IPKG_BUILD) $(IDIR_ROBOCFG) $(PACKAGE_DIR) |
Note:
See TracBrowser
for help on using the repository browser.
