mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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 <rosenp@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=libdnet
|
PKG_NAME:=libdnet
|
||||||
PKG_VERSION:=1.14
|
PKG_VERSION:=1.14
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/ofalk/libdnet/tar.gz/$(PKG_NAME)-$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/ofalk/libdnet/tar.gz/$(PKG_NAME)-$(PKG_VERSION)?
|
||||||
@@ -43,13 +43,11 @@ CONFIGURE_ARGS += \
|
|||||||
--without-wpdpack
|
--without-wpdpack
|
||||||
|
|
||||||
define Build/InstallDev
|
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_DIR) $(2)/bin
|
||||||
$(INSTALL_BIN) \
|
$(LN) ../../usr/bin/dnet-config $(2)/bin/
|
||||||
$(PKG_INSTALL_DIR)/usr/bin/dnet-config \
|
|
||||||
$(2)/bin/
|
|
||||||
$(SED) \
|
|
||||||
's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' \
|
|
||||||
$(2)/bin/dnet-config
|
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
$(INSTALL_DATA)\
|
$(INSTALL_DATA)\
|
||||||
|
|||||||
Reference in New Issue
Block a user