41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
# Template file for 'libdri2-git'
|
|
pkgname=libdri2-git
|
|
version=20140317
|
|
revision=3
|
|
_commit=4f1eef3183df2b270c3d5cbef07343ee5127a6a4
|
|
wrksrc=libdri2-${_commit}
|
|
build_style=gnu-configure
|
|
configure_args="--enable-malloc0returnsnull"
|
|
hostmakedepends="automake libtool pkg-config xorg-util-macros"
|
|
makedepends="xorgproto libXfixes-devel libXext-devel libdrm-devel"
|
|
short_desc="Library for the DRI2 extension to the X Window System"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/robclark/libdri2"
|
|
distfiles="${homepage}/archive/${_commit}.tar.gz"
|
|
checksum=7c427f5c3fbda3d1df1dc77129e87605f4af1f3ad2adf2653c560d1703aa4395
|
|
|
|
provides="libdri2-1.0_1"
|
|
replaces="libdri2>=0"
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING LICENSE
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|