freewrt_1_0
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:= comgt
|
|---|
| 10 | PKG_VERSION:= 0.32
|
|---|
| 11 | PKG_RELEASE:= 1
|
|---|
| 12 | PKG_MD5SUM:= db2452680c3d953631299e331daf49ef
|
|---|
| 13 |
|
|---|
| 14 | PKG_SOURCE_URL:= @SF/comgt
|
|---|
| 15 | PKG_SOURCE:= $(PKG_NAME).$(PKG_VERSION).tgz
|
|---|
| 16 |
|
|---|
| 17 | WRKSRC= ${WRKDIR}/${PKG_NAME}.${PKG_VERSION}
|
|---|
| 18 |
|
|---|
| 19 | include $(TOPDIR)/mk/package.mk
|
|---|
| 20 |
|
|---|
| 21 | $(eval $(call PKG_template,COMGT,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 22 |
|
|---|
| 23 | $(WRKBUILD)/.configured:
|
|---|
| 24 | touch $@
|
|---|
| 25 |
|
|---|
| 26 | $(WRKBUILD)/.built:
|
|---|
| 27 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 28 | CC="$(TARGET_CC)" \
|
|---|
| 29 | CFLAGS="$(TARGET_CFLAGS)" \
|
|---|
| 30 | comgt
|
|---|
| 31 | touch $@
|
|---|
| 32 |
|
|---|
| 33 | $(IPKG_COMGT):
|
|---|
| 34 | install -d -m0755 $(IDIR_COMGT)/usr/bin
|
|---|
| 35 | install -m0755 $(WRKBUILD)/comgt $(IDIR_COMGT)/usr/bin/comgt
|
|---|
| 36 | install -d -m0755 $(IDIR_COMGT)/etc/comgt
|
|---|
| 37 | install -m0644 ./files/dial.comgt $(IDIR_COMGT)/etc/comgt/dial.comgt
|
|---|
| 38 | install -m0644 ./files/waitready.comgt $(IDIR_COMGT)/etc/comgt/waitready.comgt
|
|---|
| 39 | $(RSTRIP) $(IDIR_COMGT)
|
|---|
| 40 | $(IPKG_BUILD) $(IDIR_COMGT) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.