From 0a2f3dafe85d9a588f335248bd448654850c2d01 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 18 Mar 2013 20:15:41 +0100 Subject: [PATCH] libXfixes: cross build and dbg support. --- srcpkgs/libXfixes/libXfixes-devel.template | 9 ++------- srcpkgs/libXfixes/template | 15 +++++++-------- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/srcpkgs/libXfixes/libXfixes-devel.template b/srcpkgs/libXfixes/libXfixes-devel.template index fe64154754..c089058423 100644 --- a/srcpkgs/libXfixes/libXfixes-devel.template +++ b/srcpkgs/libXfixes/libXfixes-devel.template @@ -1,14 +1,9 @@ # Template file for 'libXfixes-devel'. # -depends="pkg-config xproto fixesproto libX11-devel libXfixes" +depends="xproto fixesproto libX11-devel libXfixes>=${version}" short_desc="${short_desc} - development files" -long_desc="${long_desc} - This package contains files for development, headers, static libs, etc." - - -do_install() -{ +do_install() { mkdir -p ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib diff --git a/srcpkgs/libXfixes/template b/srcpkgs/libXfixes/template index 0f1e32752e..afa066692f 100644 --- a/srcpkgs/libXfixes/template +++ b/srcpkgs/libXfixes/template @@ -1,20 +1,19 @@ # Template build file for 'libXfixes'. pkgname=libXfixes version=5.0 -distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" +revision=3 build_style=gnu-configure -revision=2 +subpackages="$pkgname-devel" makedepends="pkg-config xproto xextproto fixesproto libX11-devel" +crossmakedepends="${makedepends}" short_desc="Xfixes library and extension of X RandR from modular X.org" maintainer="Juan RP " +homepage="${XORG_SITE}" +license="MIT" +distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" checksum=537a2446129242737a35db40081be4bbcc126e56c03bf5f2b142b10a79cda2e3 long_desc=" The X Fixes Extension provides workarounds for various limitations in the core protocol. The extension is designed to hold various vaguely related extension bits that change how the X server and - clients interact with fundamental parts of the window system. - - This package provides the libXFixes library from the modular X.org - X11 project." - -subpackages="$pkgname-devel" + clients interact with fundamental parts of the window system."