diff options
Diffstat (limited to 'main/freerdp/APKBUILD')
-rw-r--r-- | main/freerdp/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/main/freerdp/APKBUILD b/main/freerdp/APKBUILD new file mode 100644 index 0000000000..5c219e515b --- /dev/null +++ b/main/freerdp/APKBUILD @@ -0,0 +1,31 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=freerdp +pkgver=0.8.2 +pkgrel=0 +pkgdesc="Free RDP client" +url="http://freerdp.sourceforge.net" +license="GPL" +depends="" +subpackages="$pkgname-dev $pkgname-doc libfreerdp" +makedepends="openssl-dev libxcursor-dev cups-dev alsa-lib-dev" +source="http://downloads.sourceforge.net/project/freerdp/${pkgver%.*}/freerdp-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$_builddir" + ./configure --prefix=/usr + make +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +libfreerdp() { + pkgdesc="Free RDP client - Libraries" + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/share "$pkgdir"/usr/lib "$subpkgdir"/usr/ +} + +md5sums="cde590336292c977dfc1b4b7badf24d2 freerdp-0.8.2.tar.gz" |