PKG_SOURCE_URL:=ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/ \
ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/ \
PKG_SOURCE_URL:=ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/ \
ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/openldap-release/ \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
$(RSTRIP) $(IDIR_LIBOPENLDAP)
$(IPKG_BUILD) $(IDIR_LIBOPENLDAP) $(PACKAGE_DIR)
$(IPKG_OPENLDAP_UTILS):
mkdir -p $(IDIR_OPENLDAP_UTILS)/usr/bin
$(RSTRIP) $(IDIR_LIBOPENLDAP)
$(IPKG_BUILD) $(IDIR_LIBOPENLDAP) $(PACKAGE_DIR)
$(IPKG_OPENLDAP_UTILS):
mkdir -p $(IDIR_OPENLDAP_UTILS)/usr/bin
$(RSTRIP) $(IDIR_OPENLDAP_UTILS)
$(IPKG_BUILD) $(IDIR_OPENLDAP_UTILS) $(PACKAGE_DIR)
$(STAGING_DIR)/usr/lib/libldap.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
$(RSTRIP) $(IDIR_OPENLDAP_UTILS)
$(IPKG_BUILD) $(IDIR_OPENLDAP_UTILS) $(PACKAGE_DIR)
$(STAGING_DIR)/usr/lib/libldap.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
- cp -fpR $(PKG_INSTALL_DIR)/usr/lib/lib{lber,ldap}*.{a,so*} $(STAGING_DIR)/usr/lib/
- touch $(STAGING_DIR)/usr/lib/libldap.so
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{lber,ldap}*.{a,so*} $(STAGING_DIR)/usr/lib/
+ touch $@
rm -rf $(STAGING_DIR)/usr/include/{lber,ldap}*.h
rm -rf $(STAGING_DIR)/usr/lib/lib{lber,ldap}*.{a,so*}
rm -rf $(STAGING_DIR)/usr/include/{lber,ldap}*.h
rm -rf $(STAGING_DIR)/usr/lib/lib{lber,ldap}*.{a,so*}