aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wine/APKBUILD
blob: 35ae36341e08daf08969018a3a6a763a5742b876 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wine
pkgver=1.1.38
pkgrel=0
pkgdesc="A compatibility layer for running Windows programs"
url="http://www.winehq.com"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="fontconfig-dev openldap-dev libxslt-dev libxxf86dga-dev
	libxcursor-dev libxrandr-dev libxdamage-dev mesa-dev flex bison
	libpng-dev jpeg-dev freetype-dev"
# lcms
source="http://ibiblio.org/pub/linux/system/emulators/$pkgname/$pkgname-$pkgver.tar.bz2
	libpng14.patch"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	patch -p1 -i "$srcdir"/libpng14.patch
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--with-x
	make depend && make 
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make prefix="$pkgdir"/usr install || return 1
	mkdir -p "$pkgdir"/etc/wine
}
md5sums="ef5947bcb9667b75b8de4a2ce16d0ec2  wine-1.1.38.tar.bz2
51f78b18168d5abd78411e9e66458d55  libpng14.patch"