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
:=b203b3882e06f4c7249a3150d90c84e1a90490d41ead255a3d2cede46f4a29a7
16 PKG_LICENSE
:=LGPL-2.1
-only
17 PKG_LICENSE_FILES
:=COPYING
19 PKG_MAINTAINER
:=Yousong Zhou
<yszhou4tech@gmail.com
>
21 PKG_BUILD_DEPENDS
+=spice-protocol
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/libspice-server
28 TITLE
:=SPICE server library
29 URL
:=https
://www.spice-space.org
/index.html
30 DEPENDS
:=+glib2
+libjpeg
+libopenssl
+pixman
+zlib
33 define Package
/libspice-server
/install
34 $(INSTALL_DIR
) $(1)/usr
/lib
35 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libspice-server.so
* $(1)/usr
/lib
38 define Build
/InstallDev
39 $(INSTALL_DIR
) $(1)/usr
/lib
40 $(INSTALL_DIR
) $(1)/usr
/include
41 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include
42 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/* $(1)/usr
/lib
55 --disable-statistics \
57 $(eval
$(call BuildPackage
,libspice-server
))