freewrt_2_0
|
Last change
on this file was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago |
|
major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent
git-svn-id: svn://www.freewrt.org/trunk/freewrt@600 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
1.1 KB
|
| 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:= httping
|
|---|
| 10 | PKG_VERSION:= 1.0.10
|
|---|
| 11 | PKG_RELEASE:= 1
|
|---|
| 12 | PKG_MD5SUM:= 998b00b8babeb3196d28c20ad87d9c15
|
|---|
| 13 |
|
|---|
| 14 | PKG_SOURCE_URL:= http://www.vanheusden.com/httping/
|
|---|
| 15 | PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tgz
|
|---|
| 16 |
|
|---|
| 17 | PKG_DEPEND=libopenssl
|
|---|
| 18 | ifneq ($(FWRT_PACKAGE_HTTPING_WITH_SSL),y)
|
|---|
| 19 | SSL_ENABLE:=".nossl"
|
|---|
| 20 | PKG_DEPEND:=""
|
|---|
| 21 | endif
|
|---|
| 22 |
|
|---|
| 23 | include $(TOPDIR)/mk/package.mk
|
|---|
| 24 |
|
|---|
| 25 | $(eval $(call PKG_template,HTTPING,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 26 |
|
|---|
| 27 | $(WRKBUILD)/.configured:
|
|---|
| 28 | touch $@
|
|---|
| 29 |
|
|---|
| 30 | $(WRKBUILD)/.built:
|
|---|
| 31 | $(MAKE) -C $(WRKBUILD) -f $(WRKBUILD)/Makefile$(SSL_ENABLE) \
|
|---|
| 32 | CC=$(TARGET_CC) STAGING_DIR=$(STAGING_DIR)
|
|---|
| 33 | touch $@
|
|---|
| 34 |
|
|---|
| 35 | $(IPKG_HTTPING):
|
|---|
| 36 | mkdir -p $(IDIR_HTTPING)/usr/sbin
|
|---|
| 37 | echo "Depends: $(PKG_DEPEND)" >> $(IDIR_HTTPING)/CONTROL/control
|
|---|
| 38 | $(CP) $(WRKBUILD)/$(PKG_NAME) $(IDIR_HTTPING)/usr/sbin/
|
|---|
| 39 | $(RSTRIP) $(IDIR_HTTPING)
|
|---|
| 40 | $(IPKG_BUILD) $(IDIR_HTTPING) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.