From: Jonatan Schlag Date: Tue, 29 Mar 2016 18:57:39 +0000 (+0200) Subject: New package spice X-Git-Tag: v2.19-core101~45 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=dc2f6cac63c3f336ab82235ec69e83fe32c14796 New package spice Signed-off-by: Jonatan Schlag Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/packages/spice b/config/rootfiles/packages/spice new file mode 100644 index 0000000000..93d2e9efcf --- /dev/null +++ b/config/rootfiles/packages/spice @@ -0,0 +1,17 @@ +#usr/include/spice-server +#usr/include/spice-server/spice-audio.h +#usr/include/spice-server/spice-char.h +#usr/include/spice-server/spice-core.h +#usr/include/spice-server/spice-experimental.h +#usr/include/spice-server/spice-input.h +#usr/include/spice-server/spice-migration.h +#usr/include/spice-server/spice-qxl.h +#usr/include/spice-server/spice-server.h +#usr/include/spice-server/spice-version.h +#usr/include/spice-server/spice.h +#usr/lib/libspice-server.a +#usr/lib/libspice-server.la +#usr/lib/libspice-server.so +usr/lib/libspice-server.so.1 +usr/lib/libspice-server.so.1.10.0 +#usr/lib/pkgconfig/spice-server.pc diff --git a/lfs/spice b/lfs/spice new file mode 100644 index 0000000000..415d5aa415 --- /dev/null +++ b/lfs/spice @@ -0,0 +1,84 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2016 IPFire Team # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 0.12.6 + +THISAPP = spice-$(VER) +DL_FILE = $(THISAPP).tar.bz2 +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) +PROG = spice +PAK_VER = 1 + +DEPS = "opus" + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 605a8c8ea80bc95076c4b3539c6dd026 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + $(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && ./configure --prefix=/usr --disable-celt051 + cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD)