aboutsummaryrefslogtreecommitdiffstats
path: root/main/rdesktop/APKBUILD
blob: 7bd8871b91dae3e1aae0ff0a4ba9d1688ce047b8 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rdesktop
pkgver=1.7.1
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"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"

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

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

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install
}
md5sums="c4b39115951c4a6d74f511c99b18fcf9  rdesktop-1.7.1.tar.gz"