From 1ce0313edcea88cdf9e2c2cdcb620165cef55876 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 25 Mar 2013 06:35:53 +0100 Subject: [PATCH] libXxf86dga: cross build and dbg support. --- srcpkgs/libXxf86dga/libXxf86dga-devel.template | 9 +++------ srcpkgs/libXxf86dga/template | 11 ++++++----- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/srcpkgs/libXxf86dga/libXxf86dga-devel.template b/srcpkgs/libXxf86dga/libXxf86dga-devel.template index b71514418f..a520861951 100644 --- a/srcpkgs/libXxf86dga/libXxf86dga-devel.template +++ b/srcpkgs/libXxf86dga/libXxf86dga-devel.template @@ -1,14 +1,11 @@ # Template file for 'libXxf86dga-devel'. # -noarch=yes -depends="xf86dgaproto libX11-devel libXext-devel libXxf86dga>=$version" -short_desc="${sourcepkg} development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." +depends="xf86dgaproto libXext-devel libXxf86dga>=$version" +short_desc="${short_desc} - development files" do_install() { vmove usr/include usr + vmove "usr/lib/*.a" usr/lib vmove usr/lib/pkgconfig usr/lib vmove usr/share usr } diff --git a/srcpkgs/libXxf86dga/template b/srcpkgs/libXxf86dga/template index 3d791597b3..d7c6426f53 100644 --- a/srcpkgs/libXxf86dga/template +++ b/srcpkgs/libXxf86dga/template @@ -1,17 +1,18 @@ # Template build file for 'libXxf86dga'. pkgname=libXxf86dga version=1.1.3 -revision=1 +revision=2 build_style=gnu-configure subpackages="$pkgname-devel" -makedepends="pkg-config xf86dgaproto libXext-devel" +hostmakedepends="pkg-config" +makedepends="xf86dgaproto libXext-devel" short_desc="Library for the XFree86-DGA X extension" maintainer="Juan RP " +homepage="${XORG_SITE}" +license="MIT" distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" checksum=551fa374dbef0f977de1f35d005fa9ffe92b7a87e82dbe62d6a4640f5b0b4994 long_desc=" These functions provide an interface to the server extension XFree86-DGA Extension which allows local programs direct access - to the video frame buffer. - - This library is from the modular X.org project." + to the video frame buffer."