mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-22 00:02:23 +01:00
52 lines
1.5 KiB
Plaintext
52 lines
1.5 KiB
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=spice-protocol
|
|
pkgver=0.12.10
|
|
pkgrel=0
|
|
pkgdesc="Spice protocol header files"
|
|
url="http://www.spice-space.org/"
|
|
arch="noarch"
|
|
license="BSD and LGPLv2+"
|
|
depends=""
|
|
depends_dev=""
|
|
makedepends="$depends_dev"
|
|
install=""
|
|
subpackages=""
|
|
source="http://www.spice-space.org/download/releases/spice-protocol-$pkgver.tar.bz2
|
|
portable-membarrier.patch
|
|
"
|
|
|
|
_builddir="$srcdir"/spice-protocol-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make pkgconfigdir=/usr/lib/pkgconfig DESTDIR="$pkgdir" install \
|
|
|| return 1
|
|
}
|
|
|
|
md5sums="1fb9d0dcdd42dce1b476ae8aa7569bcc spice-protocol-0.12.10.tar.bz2
|
|
ea0d68301fd623caab0b25aba6031d0d portable-membarrier.patch"
|
|
sha256sums="788f0d7195bec5b14371732b562eb55ca82712aab12273b0e87529fb30532efb spice-protocol-0.12.10.tar.bz2
|
|
4def9cbc322b0745c8134a124d7f85e2c4d6e54c4c1e4008f44e68422a58f5d2 portable-membarrier.patch"
|
|
sha512sums="4f6545ced78a4eedf6adca3f10d536a57205626e631d7cf380be4ea08ca2e1fbbe32566e59c2ce1900a7f057a6dab044483b8423885280cbf142b253d8e03711 spice-protocol-0.12.10.tar.bz2
|
|
434b9cc8eed945de181259ae041eb97ee324f4aab54683b14594f9adfbab0ed2dabaaaf15fd696588f3e506809ea6fef86c43e3ac9b05fdd87df242c19b2765c portable-membarrier.patch"
|