freewrt_2_0
| 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 |
|
|---|
| 7 | include $(TOPDIR)/rules.mk
|
|---|
| 8 |
|
|---|
| 9 | PKG_NAME:= smcroute
|
|---|
| 10 | PKG_VERSION:= 0.92
|
|---|
| 11 | PKG_RELEASE:= 1
|
|---|
| 12 | PKG_MD5SUM:= 2b50e7166606ec90e09682399e69c4a6
|
|---|
| 13 | PKG_INIT:= 70
|
|---|
| 14 |
|
|---|
| 15 | PKG_SOURCE_URL:= http://www.cschill.de/smcroute/
|
|---|
| 16 | PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tgz
|
|---|
| 17 |
|
|---|
| 18 | include $(TOPDIR)/mk/package.mk
|
|---|
| 19 |
|
|---|
| 20 | $(eval $(call PKG_template,SMCROUTE,smcroute,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 21 |
|
|---|
| 22 | $(WRKBUILD)/.built:
|
|---|
| 23 | $(MAKE) -C $(WRKBUILD)/src \
|
|---|
| 24 | CC=$(TARGET_CC) \
|
|---|
| 25 | all
|
|---|
| 26 | touch $@
|
|---|
| 27 |
|
|---|
| 28 | $(IPKG_SMCROUTE):
|
|---|
| 29 | install -d -m0755 $(IDIR_SMCROUTE)/usr/bin
|
|---|
| 30 | install -m0755 $(WRKBUILD)/src/smcroute $(IDIR_SMCROUTE)/usr/bin/
|
|---|
| 31 | install -m0755 $(WRKBUILD)/src/mcsender $(IDIR_SMCROUTE)/usr/bin/
|
|---|
| 32 | install -d -m0755 $(IDIR_SMCROUTE)/etc/init.d
|
|---|
| 33 | install -m0755 ./files/smcroute.init $(IDIR_SMCROUTE)/etc/init.d/S$(PKG_INIT)smcroute
|
|---|
| 34 | $(RSTRIP) $(IDIR_SMCROUTE)
|
|---|
| 35 | $(IPKG_BUILD) $(IDIR_SMCROUTE) $(PACKAGE_DIR)
|
|---|
| 36 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.