diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-02-13 12:58:34 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-02-13 12:58:34 +0000 |
commit | 8ce48bdf4514ceafa03232fc722a10a5cae9a088 (patch) | |
tree | 2f99fd8c159b504f6ccfe59cb1404f3a8d4fab9c /openwrt/package/httping/Makefile | |
parent | 556cad808f902654620ae6007951816395660fd0 (diff) |
Added support for SSL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3232 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/httping/Makefile')
-rw-r--r-- | openwrt/package/httping/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/openwrt/package/httping/Makefile b/openwrt/package/httping/Makefile index 05dd1c13b..027aac920 100644 --- a/openwrt/package/httping/Makefile +++ b/openwrt/package/httping/Makefile @@ -13,6 +13,12 @@ PKG_CAT:=zcat PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_DEPEND=libopenssl +ifneq ($(BR2_PACKAGE_HTTPING_WITH_SSL),y) +SSL_ENABLE:=".nossl" +PKG_DEPEND:="" +endif + include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,HTTPING,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) @@ -21,13 +27,14 @@ $(PKG_BUILD_DIR)/.configured: touch $@ $(PKG_BUILD_DIR)/.built: - $(MAKE) -C $(PKG_BUILD_DIR) \ - CC=$(TARGET_CC) + $(MAKE) -C $(PKG_BUILD_DIR) -f $(PKG_BUILD_DIR)/Makefile$(SSL_ENABLE) \ + CC=$(TARGET_CC) STAGING_DIR=$(STAGING_DIR) touch $@ $(IPKG_HTTPING): mkdir -p $(IDIR_HTTPING)/usr/sbin - $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_HTTPING)/usr/sbin/ + echo "Depends: $(PKG_DEPEND)" >> $(IDIR_HTTPING)/CONTROL/control + cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_HTTPING)/usr/sbin/ $(STRIP) $(IDIR_HTTPING)/usr/sbin/* $(IPKG_BUILD) $(IDIR_HTTPING) $(PACKAGE_DIR) |