1 # Contributor: Piotr Sobiech <sobiech at wredny dot net>
2 pkgname=libxxf86vm-static
6 pkgdesc="X11 XFree86 video mode extension library. This package also includes the static lib, which is excluded from the official package, and is neaded to build LJWGL."
8 url="http://xorg.freedesktop.org/"
10 conflicts=('libxxf86vm')
11 depends=('libxext>=1.1' 'xf86vidmodeproto>=2.3')
12 makedepends=('pkgconfig')
14 #replaces=('libxxf86vm')
15 provides=('libxxf86vm=1.1.0')
16 source=("http://xorg.freedesktop.org/archive/individual/lib/libXxf86vm-${pkgver}.tar.bz2")
17 md5sums=('b431ad7084e1055fef99a9115237edd8')
20 cd "${srcdir}/${_pkgname}-${pkgver}"
21 # It should build static's by default, but don't let them have a choice :)
22 ./configure --prefix=/usr --enable-static --enable-shared || return 1
24 make DESTDIR="${pkgdir}" install || return 1
25 install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
26 install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
29 # vim:set ts=2 sw=2 et: