summaryrefslogtreecommitdiffstats
path: root/main/libxinerama/APKBUILD
blob: ada7f1fbc1e81b450467cfefe5ff6814c24de97d (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxinerama
pkgver=1.1.1
pkgrel=1
pkgdesc="X11 Xinerama extension library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="pkgconfig libxext-dev libx11-dev xineramaproto"
source="http://xorg.freedesktop.org/releases/individual/lib/libXinerama-$pkgver.tar.bz2"
depends_dev="xineramaproto libx11-dev libxext-dev"

build() { 
	cd "$srcdir"/libXinerama-$pkgver
	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$srcdir"/libXinerama-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="ecd4839ad01f6f637c6fb5327207f89b  libXinerama-1.1.1.tar.bz2"