mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
liblo: fix pkgconf file
OS paths are wrongly being passed. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Christian Marangi
parent
12d23c8e95
commit
6377a6e8bc
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=liblo
|
||||
PKG_VERSION:=0.34
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/liblo
|
||||
@@ -19,7 +19,6 @@ PKG_MAINTAINER:=
|
||||
PKG_LICENSE:=LGPL-2.1-or-later
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
|
||||
CMAKE_INSTALL:=1
|
||||
CMAKE_SOURCE_SUBDIR:=cmake
|
||||
PKG_CONFIG_DEPENDS:=CONFIG_PACKAGE_liblo-utils
|
||||
|
||||
@@ -55,6 +54,12 @@ CMAKE_OPTIONS += \
|
||||
-DWITH_STATIC=OFF \
|
||||
-DTHREADING=ON
|
||||
|
||||
define Build/InstallDev
|
||||
$(call Build/InstallDev/cmake,$(1))
|
||||
$(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/liblo.pc
|
||||
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/liblo.pc
|
||||
endef
|
||||
|
||||
define Package/liblo/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/liblo.so.* $(1)/usr/lib/
|
||||
|
||||
Reference in New Issue
Block a user