Browse Source

Merge pull request #14167 from neheb/ftdi11

libftdi: install libftdi1-config to host
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
48d6dd05c8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      libs/libftdi/Makefile

+ 4
- 1
libs/libftdi/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libftdi PKG_NAME:=libftdi
PKG_VERSION:=0.20 PKG_VERSION:=0.20
PKG_RELEASE:=6
PKG_RELEASE:=7
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.intra2net.com/en/developer/libftdi/download/ PKG_SOURCE_URL:=http://www.intra2net.com/en/developer/libftdi/download/
@ -52,6 +52,9 @@ define Build/InstallDev
$(SED) 's,/usr/bin,/usr,g' $(1)/usr/lib/pkgconfig/libftdipp.pc $(SED) 's,/usr/bin,/usr,g' $(1)/usr/lib/pkgconfig/libftdipp.pc
$(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/libftdipp.pc $(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/libftdipp.pc
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/libftdipp.pc $(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/libftdipp.pc
$(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' $(1)/usr/bin/libftdi-config
$(INSTALL_DIR) $(2)/bin
$(LN) ../../usr/bin/libftdi-config $(2)/bin/libftdi-config
endef endef
define Package/libftdi/install define Package/libftdi/install


Loading…
Cancel
Save