Merge pull request #12078 from micmac1/masneon
neon: add back sed scripts for neon-config
This commit is contained in:
commit
f24f339eb1
1 changed files with 3 additions and 1 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=neon
|
PKG_NAME:=neon
|
||||||
PKG_VERSION:=0.31.1
|
PKG_VERSION:=0.31.1
|
||||||
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://notroj.github.io/neon
|
PKG_SOURCE_URL:=https://notroj.github.io/neon
|
||||||
|
@ -65,6 +65,8 @@ define Build/InstallDev
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libneon.{a,so*} $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libneon.{a,so*} $(1)/usr/lib/
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/neon.pc $(1)/usr/lib/pkgconfig/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/neon.pc $(1)/usr/lib/pkgconfig/
|
||||||
|
$(SED) 's,-I$$$${includedir}/,-I$(STAGING_DIR)/usr/include/,g' $(1)/usr/bin/neon-config
|
||||||
|
$(SED) 's,-L$$$${libdir},,g' $(1)/usr/bin/neon-config
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libneon/install
|
define Package/libneon/install
|
||||||
|
|
Loading…
Reference in a new issue