From: Rosen Penev Date: Sun, 10 Jan 2021 01:05:41 +0000 (-0800) Subject: libdnet: fix dnet-config install path X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=3a35751513ccf017700e70ec8fba3d3cc73cd8f7;p=openwrt-packages.git libdnet: fix dnet-config install path For these -config files, some packages use the -config file in /usr and others in /host. Install to /usr and then symlink as is done in other packages. Signed-off-by: Rosen Penev --- diff --git a/libs/libdnet/Makefile b/libs/libdnet/Makefile index 3343a0692..5b77b0449 100644 --- a/libs/libdnet/Makefile +++ b/libs/libdnet/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libdnet PKG_VERSION:=1.14 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/ofalk/libdnet/tar.gz/$(PKG_NAME)-$(PKG_VERSION)? @@ -43,13 +43,11 @@ CONFIGURE_ARGS += \ --without-wpdpack define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dnet-config $(1)/usr/bin/ + $(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' $(1)/usr/bin/dnet-config $(INSTALL_DIR) $(2)/bin - $(INSTALL_BIN) \ - $(PKG_INSTALL_DIR)/usr/bin/dnet-config \ - $(2)/bin/ - $(SED) \ - 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' \ - $(2)/bin/dnet-config + $(LN) ../../usr/bin/dnet-config $(2)/bin/ $(INSTALL_DIR) $(1)/usr/include $(INSTALL_DATA)\