aboutsummaryrefslogtreecommitdiffstats
path: root/main/rdesktop/APKBUILD
blob: bbf3e1336a57b50898066cf898a168b8fbac3fe1 (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.3
pkgrel=2
pkgdesc="rdesktop is used to connect to windows terminal servers"
url="http://www.rdesktop.org/"
arch="all"
license="GPL"
subpackages="$pkgname-doc"
depends=
makedepends="linux-headers libx11-dev libao-dev libressl-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="86e8b368a7c715e74ded92e0d7912dc5  rdesktop-1.8.3.tar.gz"
sha256sums="88b20156b34eff5f1b453f7c724e0a3ff9370a599e69c01dc2bf0b5e650eece4  rdesktop-1.8.3.tar.gz"
sha512sums="06b94ad3b09430b05e424ef31a3e6f2388190b4920e348603cb66a414244896e0dc8906b9f12920e9406cf153ffa7f6507b23bf6713c3a675c0540a8ef57902d  rdesktop-1.8.3.tar.gz"