From b38b125d7e44beb61aae1618c8ddc0efa213dbca Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 21 Aug 2009 17:50:37 -0400 Subject: [PATCH] cups: added `lphelp` from mandriva --- printing/cups/cups.conf | 9 ++++++++- printing/cups/cups.desc | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/printing/cups/cups.conf b/printing/cups/cups.conf index 8e1e2a0f9..3eeda6c01 100644 --- a/printing/cups/cups.conf +++ b/printing/cups/cups.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../cups/cups.conf -# Copyright (C) 2008 The OpenSDE Project +# Copyright (C) 2008 - 2009 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -37,3 +37,10 @@ var_append makeinstopt ' ' "BUILDROOT=$root" hook_add postmake 5 cups_pm +lphelp_make() { + local src=$(match_source_file -p lphelp) + $CC -o lphelp -I. -L./cups "$src" -lcups +} + +hook_add inmake 5 'lphelp_make' +hook_add postmake 5 "cp -a lphelp $root$bindir/" diff --git a/printing/cups/cups.desc b/printing/cups/cups.desc index e6c2a3518..d47fde6ab 100644 --- a/printing/cups/cups.desc +++ b/printing/cups/cups.desc @@ -47,3 +47,4 @@ [P] X -?---5---9 122.900 [D] 30374302 cups-1.3.11-source.tar.gz http://ftp.easysw.com/pub/cups/1.3.11/ +[D] 95889300 lphelp-1.4.c !http://cvs.mandriva.com/cgi-bin/viewvc.cgi/SPECS/cups/lphelp.c?revision=1.4