void-packages/srcpkgs/libdri2-git/template

37 lines
948 B
Plaintext
Raw Normal View History

2014-01-27 13:32:41 +01:00
# Template file for 'libdri2-git'
pkgname=libdri2-git
2014-03-17 12:03:45 +01:00
version=20140317
2014-01-27 13:32:41 +01:00
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="automake libtool pkg-config xorg-util-macros"
makedepends="dri2proto libXfixes-devel libXext-devel libdrm-devel"
short_desc="Library for the DRI2 extension to the X Window System"
maintainer="Juan RP <xtraeme@gmail.com>"
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
}
}