37 lines
948 B
Plaintext
37 lines
948 B
Plaintext
# Template file for 'libdri2-git'
|
|
pkgname=libdri2-git
|
|
version=20140127
|
|
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
|
|
}
|
|
}
|