1 # $Id: Makefile 1146 2005-06-05 13:32:28Z florian $
3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=998b00b8babeb3196d28c20ad87d9c15
10 PKG_SOURCE_URL
:=http
://www.vanheusden.com
/httping
/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
17 ifneq ($(BR2_PACKAGE_HTTPING_WITH_SSL
),y
)
22 include $(TOPDIR
)/package
/rules.mk
24 $(eval
$(call PKG_template
,HTTPING
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
26 $(PKG_BUILD_DIR
)/.configured
:
29 $(PKG_BUILD_DIR
)/.built
:
30 $(MAKE
) -C
$(PKG_BUILD_DIR
) -f
$(PKG_BUILD_DIR
)/Makefile
$(SSL_ENABLE
) \
31 CC
=$(TARGET_CC
) STAGING_DIR
=$(STAGING_DIR
)
35 mkdir
-p
$(IDIR_HTTPING
)/usr
/sbin
36 echo
"Depends: $(PKG_DEPEND)" >> $(IDIR_HTTPING
)/CONTROL
/control
37 cp
$(PKG_BUILD_DIR
)/$(PKG_NAME
) $(IDIR_HTTPING
)/usr
/sbin
/
38 $(STRIP
) $(IDIR_HTTPING
)/usr
/sbin
/*
39 $(IPKG_BUILD
) $(IDIR_HTTPING
) $(PACKAGE_DIR
)
42 $(MAKE
) -C
$(PKG_BUILD_DIR
) clean
43 rm -f
$(PKG_BUILD_DIR
)/.built