spice: made InstallDev section more explicit for clarity
authorRosen Penev <rosenp@gmail.com>
Fri, 9 Oct 2020 11:14:35 +0000 (04:14 -0700)
committerRosen Penev <rosenp@gmail.com>
Sat, 10 Oct 2020 07:00:06 +0000 (00:00 -0700)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/spice/Makefile

index ae8ebcef8f7212362661aa58193e30ffb50109df..55d08d6b8494d8e5c5834e7c9fca4e252c245d1a 100644 (file)
@@ -63,10 +63,12 @@ MESON_ARGS += \
        -Dspice-common:tests=false \
 
 define Build/InstallDev
+       $(INSTALL_DIR) $(1)/usr/include/spice-server
+       $(CP) $(PKG_INSTALL_DIR)/usr/include/spice-server/*.h $(1)/usr/include/spice-server
        $(INSTALL_DIR) $(1)/usr/lib
-       $(INSTALL_DIR) $(1)/usr/include
-       $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libspice-server.* $(1)/usr/lib
+       $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/spice-server.pc $(1)/usr/lib/pkgconfig
 endef
 
 define Package/libspice-server/install