cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6935 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
106655ce72
commit
d84d04b95a
@ -18,6 +18,9 @@ PKG_MD5SUM:=957e6fff08625fe34f4fc33d0925bbc9
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
EXTRA_LDFLAGS+=-Wl,-rpath-link,$(STAGING_DIR)/usr/lib
|
||||
TARGET_CONFIGURE_OPTS+=\
|
||||
CC="$(TARGET_CC) $(EXTRA_LDFLAGS)"
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
@ -38,19 +41,11 @@ endef
|
||||
# uses GNU configure
|
||||
|
||||
define Build/Configure
|
||||
cd $(PKG_BUILD_DIR)
|
||||
$(call Build/Configure/Default, \
|
||||
--enable-ssl \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
EXTRA_CFLAGS="-I$(STAGING_DIR)/usr/include" \
|
||||
EXTRA_LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
all
|
||||
endef
|
||||
|
||||
define Package/ssmtp/install
|
||||
$(INSTALL_DIR) $(1)/etc/ssmtp
|
||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/ssmtp.conf $(1)/etc/ssmtp/
|
||||
|
Loading…
x
Reference in New Issue
Block a user