mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-01 06:42:01 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer:
|
|
pkgname=libvncserver
|
|
pkgver=0.9.10
|
|
pkgrel=1
|
|
pkgdesc="Library to make writing a vnc server easy"
|
|
url="http://libvncserver.sourceforge.net/"
|
|
arch="all"
|
|
license="GPLv2+"
|
|
depends=""
|
|
depends_dev="libgcrypt-dev libjpeg-turbo-dev gnutls-dev libpng-dev
|
|
libice-dev libx11-dev libxdamage-dev libxext-dev libxfixes-dev
|
|
libxi-dev libxinerama-dev libxrandr-dev libxtst-dev"
|
|
makedepends="$depends_dev autoconf automake libtool"
|
|
install=""
|
|
subpackages="$pkgname-dev"
|
|
source="http://downloads.sf.net/libvncserver/LibVNCServer-$pkgver.tar.gz"
|
|
source="https://github.com/LibVNC/libvncserver/archive/LibVNCServer-$pkgver.tar.gz
|
|
"
|
|
|
|
_builddir="$srcdir"/libvncserver-LibVNCServer-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--disable-static \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make install DESTDIR="$pkgdir" || return 1
|
|
}
|
|
|
|
md5sums="e1b888fae717b06896f8aec100163d27 LibVNCServer-0.9.10.tar.gz"
|
|
sha256sums="ed10819a5bfbf269969f97f075939cc38273cc1b6d28bccfb0999fba489411f7 LibVNCServer-0.9.10.tar.gz"
|
|
sha512sums="eb637dfb72dc50fb713a715c9d0cc8824a6871527c2edb497e70c92e2e708021fbd5d8134f2dee6a9e90d1c8fd3fee53c5f5ece790c2804e938011a980ffceae LibVNCServer-0.9.10.tar.gz"
|