summaryrefslogtreecommitdiffstats
path: root/main/gtk-vnc/APKBUILD
blob: dd94fd54bc4127232698ee6bccc2ab42423d3bc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtk-vnc
pkgver=0.3.10
pkgrel=0
pkgdesc="A VNC viewer widget for GTK"
url="http://live.gnome.org/gtk-vnc"
license="LGPL"
subpackages="$pkgname-dev gvncviewer"
makedepends="gnutls-dev gtk+-dev libiconv-dev gettext-dev intltool expat-dev
	libgcrypt-dev libgpg-error-dev cyrus-sasl-dev"
depends_dev="gtk+-dev gnutls-dev"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/0.3/$pkgname-$pkgver.tar.bz2"

build () 
{ 
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--without-python \
		--with-examples \
		--disable-static || return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}

gvncviewer() {
	pkgdesc="Demo application for gtk-vnc"
	mkdir -p "$subpkgdir"/usr
	mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}

md5sums="9aa9d830b219255c8d6753ef55802932  gtk-vnc-0.3.10.tar.bz2"