|
|
@ -19,11 +19,10 @@ PKG_MAINTAINER:=Jonathan Bennett <JBennett@incomsystems.biz> |
|
|
|
PKG_LICENSE:=LGPL-2.1-or-later |
|
|
|
PKG_LICENSE_FILES:=COPYING |
|
|
|
|
|
|
|
PKG_BUILD_PARALLEL:=1 |
|
|
|
PKG_CONFIG_DEPENDS:=CONFIG_PACKAGE_qrencode |
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
|
include $(INCLUDE_DIR)/cmake.mk |
|
|
|
include ../../devel/ninja/ninja-cmake.mk |
|
|
|
|
|
|
|
define Package/libqrencode |
|
|
|
SECTION:=libs |
|
|
@ -68,7 +67,7 @@ define Build/InstallDev |
|
|
|
$(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib $(1)/usr/lib/pkgconfig |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/qrencode.h $(1)/usr/include/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libqrencode.so* $(1)/usr/lib/ |
|
|
|
$(CP) $(PKG_BUILD_DIR)/libqrencode.pc $(1)/usr/lib/pkgconfig/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libqrencode.pc $(1)/usr/lib/pkgconfig/ |
|
|
|
$(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/libqrencode.pc |
|
|
|
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/libqrencode.pc |
|
|
|
endef |
|
|
|