mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
development/spice-protocol: Added (spice protocol headers)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
69618e0ae2
commit
720d65df06
4 changed files with 84 additions and 0 deletions
6
development/spice-protocol/README
Normal file
6
development/spice-protocol/README
Normal file
|
@ -0,0 +1,6 @@
|
|||
spice-protocol (spice protocol headers)
|
||||
|
||||
Spice protocol defines a set of protocol messages for accessing,
|
||||
controlling, and receiving inputs from remote computing devices (e.g.,
|
||||
keyboard, video, mouse) across networks, and sending output to them.
|
||||
These are the protocol header files.
|
19
development/spice-protocol/slack-desc
Normal file
19
development/spice-protocol/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
spice-protocol: spice-protocol (spice protocol headers)
|
||||
spice-protocol:
|
||||
spice-protocol: Spice protocol defines a set of protocol messages for accessing,
|
||||
spice-protocol: controlling, and receiving inputs from remote computing devices (e.g.,
|
||||
spice-protocol: keyboard, video, mouse) across networks, and sending output to them.
|
||||
spice-protocol: These are the protocol header files.
|
||||
spice-protocol:
|
||||
spice-protocol: homepage: http://spice-space.org
|
||||
spice-protocol:
|
||||
spice-protocol:
|
||||
spice-protocol:
|
49
development/spice-protocol/spice-protocol.SlackBuild
Normal file
49
development/spice-protocol/spice-protocol.SlackBuild
Normal file
|
@ -0,0 +1,49 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for spice-protocol
|
||||
# Written by ponce <matteo.bernardini@gmail.com>
|
||||
|
||||
PRGNAM=spice-protocol
|
||||
VERSION=${VERSION:-0.10.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
ARCH=noarch
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
|
||||
|
||||
set -e # Exit on most errors
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
./configure \
|
||||
--prefix=/usr
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
10
development/spice-protocol/spice-protocol.info
Normal file
10
development/spice-protocol/spice-protocol.info
Normal file
|
@ -0,0 +1,10 @@
|
|||
PRGNAM="spice-protocol"
|
||||
VERSION="0.10.1"
|
||||
HOMEPAGE="http://spice-space.org"
|
||||
DOWNLOAD="http://spice-space.org/download/releases/spice-protocol-0.10.1.tar.bz2"
|
||||
MD5SUM="7147ef0d9295dbe44510870f8d047e9c"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="ponce"
|
||||
EMAIL="matteo.bernardini@gmail.com"
|
||||
APPROVED="rworkman"
|
Loading…
Reference in a new issue