aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxinerama/APKBUILD
blob: 0b5f65605e391458dd16656e3e6ff5826f24f29a (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxinerama
pkgver=1.1.2
pkgrel=0
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
	rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="cb45d6672c93a608f003b6404f1dd462  libXinerama-1.1.2.tar.bz2"