define Build/InstallDev
mkdir -p $(STAGING_DIR)/usr/lib/libiconv/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/iconv.h $(STAGING_DIR)/usr/lib/libiconv/include/
- $(CP) $(PKG_INSTALL_DIR)/usr/include/iconv.h $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib/libiconv/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libiconv.{a,so*} $(STAGING_DIR)/usr/lib/libiconv/lib/
endef
--with-debug=0 \
--with-libgnutls-prefix=$(STAGING_DIR)/usr \
--without-doc-xsl-prefix \
- --without-libiconv-prefix \
+ --with-libiconv-prefix="$(STAGING_DIR)/usr/lib/libiconv" \
--without-libintl-prefix \
--disable-aspell \
--enable-lua \
--disable-python \
--disable-ruby \
, \
- LIBS="-llua -ldl -lm" \
+ LIBS="-llua -ldl -lm -L$(STAGING_DIR)/usr/lib/libiconv/lib" \
)
endef
define Package/apr-util
SECTION:=utils
CATEGORY:=Utilities
- DEPENDS:=+libiconv +libexpat +apr
+ DEPENDS:=+libexpat +apr
TITLE:=Apache Portable Runtime Library Util
URL:=http://apr.apache.org/
endef
endef
define Build/UninstallDev
- rm $(STAGING_DIR)/usr/bin/apu-config \
+ -rm $(STAGING_DIR)/usr/bin/apu-config \
$(STAGING_DIR)/usr/include/apr-0/{apr_anylock.h,apr_base64.h,apr_buckets.h,apr_date.h,apr_dbm.h,apr_hooks.h,apr_ldap.h,apr_ldap_url.h,apr_md4.h,apr_md5.h,apr_optional.h,apr_optional_hooks.h,apr_queue.h,apr_reslist.h,apr_rmm.h,apr_sdbm.h,apr_sha1.h,apr_strmatch.h,apr_uri.h,apr_uuid.h,apr_xlate.h,apr_xml.h,apu_compat.h,apu.h,apu_version.h,apu_want.h} \
$(STAGING_DIR)/usr/lib/*aprutil*
endef