37 lines
955 B
Bash
37 lines
955 B
Bash
# Template file for 'libdri2-git'
|
|
pkgname=libdri2-git
|
|
version=20140317
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--enable-malloc0returnsnull"
|
|
hostmakedepends="automake libtool pkg-config xorg-util-macros git"
|
|
makedepends="xorgproto libXfixes-devel libXext-devel libdrm-devel"
|
|
short_desc="Library for the DRI2 extension to the X Window System"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="MIT"
|
|
homepage="https://github.com/robclark/libdri2"
|
|
|
|
provides="libdri2-1.0_1"
|
|
replaces="libdri2>=0"
|
|
|
|
do_fetch() {
|
|
git clone git://github.com/robclark/libdri2 ${pkgname}-${version}
|
|
}
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
libdri2-devel-git_package() {
|
|
short_desc+=" - development files"
|
|
depends="libX11-devel libXext-devel ${sourcepkg}>=${version}_${revision}"
|
|
provides="libdri2-devel-1.0_1"
|
|
replaces="libdri2-devel>=0"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|