aboutsummaryrefslogtreecommitdiffstats
path: root/main/rdesktop/APKBUILD
blob: 95c40f56cbc2336a882d5c9199e237250948c76f (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
36
37
38
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rdesktop
pkgver=1.8.2
pkgrel=0
pkgdesc="rdesktop is used to connect to windows terminal servers"
url="http://www.rdesktop.org/"
arch="all"
license="GPL"
subpackages="$pkgname-doc"
depends=
makedepends="libx11-dev libao-dev openssl-dev libsamplerate-dev libgssglue-dev
	libxrandr-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"

prepare() {
	cd "$srcdir"/$pkgname-$pkgver
	update_config_sub || return 1
}

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--with-sound=ao \
		--disable-smartcard \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install
}
md5sums="d05ee35b33cc909c9a48368ae5fc8d16  rdesktop-1.8.2.tar.gz"
sha256sums="fbbf23d49d34c215c5a59b2d91c008b61ead4c9fbe1ccb7223973aed24061a78  rdesktop-1.8.2.tar.gz"
sha512sums="45b3e3220bcb2584cdfa3139c5b38775d55ab3c6c4cb6e46e4032965f5dc546682a733b5764760f20b7b6f40bb412ef0f67509f1344e69b342bbf9e9aca45bcf  rdesktop-1.8.2.tar.gz"