2 # Copyright (C) 2019 Yousong Zhou <yszhou4tech@gmail.com>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
14 PKG_SOURCE_URL
:=https
://www.spice-space.org
/download
/releases
/spice-server
15 PKG_HASH
:=551d4be4a07667cf0543f3c895beb6da8a93ef5a9829f2ae47817be5e616a114
16 PKG_LICENSE
:=LGPL-2.1
-only
17 PKG_LICENSE_FILES
:=COPYING
19 PKG_MAINTAINER
:=Yousong Zhou
<yszhou4tech@gmail.com
>
22 PKG_BUILD_DEPENDS
+=spice-protocol
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/libspice-server
29 TITLE
:=SPICE server library
30 URL
:=https
://www.spice-space.org
/index.html
31 DEPENDS
:=+glib2
+libjpeg
+libopenssl
+pixman
+zlib
34 define Package
/libspice-server
/install
35 $(INSTALL_DIR
) $(1)/usr
/lib
36 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libspice-server.so
* $(1)/usr
/lib
39 define Build
/InstallDev
40 $(INSTALL_DIR
) $(1)/usr
/lib
41 $(INSTALL_DIR
) $(1)/usr
/include
42 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include
43 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/* $(1)/usr
/lib
56 --disable-statistics \
58 --disable-silent-rules \
60 $(eval
$(call BuildPackage
,libspice-server
))