aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxinerama/APKBUILD
blob: 853ef0e065d38d1df40c46d53febe175db63c154 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxinerama
pkgver=1.1.3
pkgrel=1
pkgdesc="X11 Xinerama extension library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
options="!check"  # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="xineramaproto libx11-dev libxext-dev util-macros"
source="http://www.x.org/releases/individual/lib/libXinerama-$pkgver.tar.bz2
	"

builddir="$srcdir"/libXinerama-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
md5sums="9336dc46ae3bf5f81c247f7131461efd  libXinerama-1.1.3.tar.bz2"
sha256sums="7a45699f1773095a3f821e491cbd5e10c887c5a5fce5d8d3fced15c2ff7698e2  libXinerama-1.1.3.tar.bz2"
sha512sums="c9f059697c04fdc600d9e63873e924032d6cff456674ee28a885270c54722d96df0ef7a78432c2bdc0844241f115e00ad730c29d84681efc1c45a2e1acb3288c  libXinerama-1.1.3.tar.bz2"