aboutsummaryrefslogtreecommitdiffstats
path: root/main/rdesktop/APKBUILD
blob: 37ccdf59e272aaf7c9c13a0e162819dda678c980 (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.0
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="203d662ac20b22250bbbd525a9f29f3a  rdesktop-1.8.0.tar.gz"
sha256sums="1f12562c0dc1c599d1c3d2ac4829d229763744fe7aef879c8eaaa5abae8edcb3  rdesktop-1.8.0.tar.gz"
sha512sums="6e0116b16cf8586f0fd233c7fb8ec93e6fae8ad39a016e6d47b6f1ae35d9502a8fd46ea338546e4f5af3bcf9bdfaed3771b99b46e9413484d792f4bc77446cfd  rdesktop-1.8.0.tar.gz"