libdri2-git: clean up package.
This commit is contained in:
parent
ed6807234f
commit
c96dbebdca
1 changed files with 10 additions and 6 deletions
|
@ -1,27 +1,31 @@
|
|||
# Template file for 'libdri2-git'
|
||||
pkgname=libdri2-git
|
||||
version=20140317
|
||||
revision=2
|
||||
revision=3
|
||||
_commit=4f1eef3183df2b270c3d5cbef07343ee5127a6a4
|
||||
wrksrc=libdri2-${_commit}
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-malloc0returnsnull"
|
||||
hostmakedepends="automake libtool pkg-config xorg-util-macros git"
|
||||
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"
|
||||
|
||||
do_fetch() {
|
||||
git clone git://github.com/robclark/libdri2 ${pkgname}-${version}
|
||||
}
|
||||
|
||||
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}"
|
||||
|
|
Loading…
Reference in a new issue