Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=d24a6e92af42a8c12d4b5bdb435ce5f9c4da6eb3

commit d24a6e92af42a8c12d4b5bdb435ce5f9c4da6eb3
Author: crazy <[EMAIL PROTECTED]>
Date:   Fri Nov 2 15:22:29 2007 +0100

hal-info-20071030-1-i686
* Version bump

diff --git a/source/apps/hal-info/FrugalBuild b/source/apps/hal-info/FrugalBuild
index 88dbf79..dbf598e 100644
--- a/source/apps/hal-info/FrugalBuild
+++ b/source/apps/hal-info/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: crazy <[EMAIL PROTECTED]>

pkgname=hal-info
-pkgver=20070618
+pkgver=20071030
pkgrel=1
pkgdesc="hal-info contains device information for HAL."
url="http://www.freedesktop.org/wiki/Software/hal";
@@ -10,7 +10,17 @@ depends=()
groups=('apps')
archs=('i686' 'x86_64')
up2date="lynx -dump 'http://hal.freedesktop.org/releases/?C=M;O=A'|grep 
'hal-info-\(.*\).tar.gz'|Flasttar"
-source=(http://hal.freedesktop.org/releases/$pkgname-$pkgver.tar.gz)
-## brr broken p*** of c****
-Fconfopts="$Fconfopts --datarootdir=/usr/share --datadir=/usr/share"
-sha1sums=('0b586373cdf425180c9fe803b576fd7ca86c07c4')
+source=(http://hal.freedesktop.org/releases/$pkgname-$pkgver.tar.gz 
just_WARN.patch)
+sha1sums=('844f599b300162b0f43ddb08606a7ab36caa6399' \
+          '7c5b0fea8872c24767283be17a7cbd0ffcc143c1')
+
+build()
+{
+       Fcd
+       Fpatchall
+       Fautoreconf
+       Fmake \
+               --datarootdir=/usr/share \
+               --datadir=/usr/share
+       Fmakeinstall
+}
diff --git a/source/apps/hal-info/just_WARN.patch 
b/source/apps/hal-info/just_WARN.patch
new file mode 100644
index 0000000..2a95e04
--- /dev/null
+++ b/source/apps/hal-info/just_WARN.patch
@@ -0,0 +1,27 @@
+diff -Naur hal-info-20071011/configure.in hal-info-20071011-wth/configure.in
+--- hal-info-20071011/configure.in     2007-09-25 22:32:01.000000000 +0200
++++ hal-info-20071011-wth/configure.in 2007-10-15 15:32:14.000000000 +0200
+@@ -9,8 +9,16 @@
+
+ PKG_PROG_PKG_CONFIG
+
+-if ! $PKG_CONFIG --atleast-version 0.5.10 hal; then
+-   AC_MSG_ERROR([hal 0.5.10 or later is required for this version of 
hal-info])
++
++PKG_CHECK_MODULES([hal], [hal], [have_hal_installed="yes"], 
[have_hal_installed="no"])
++
++if test "x$have_hal_installed" = "xyes"; then
++   if ! $PKG_CONFIG --atleast-version 0.5.10 hal; then
++      hal_now="`$PKG_CONFIG --modversion hal`"
++      AC_MSG_WARN([found $hal_now but hal 0.5.10 or later is required for 
this version of hal-info])
++   fi
++else
++      AC_MSG_WARN([Hal is not installed but hal 0.5.10 or later is required 
for this version of hal-info])
+ fi
+
+ dnl 
---------------------------------------------------------------------------
+diff -Naur hal-info-20071011/VERSION hal-info-20071011-wth/VERSION
+--- hal-info-20071011/VERSION  1970-01-01 01:00:00.000000000 +0100
++++ hal-info-20071011-wth/VERSION      2007-10-15 15:32:40.000000000 +0200
+@@ -0,0 +1 @@
++20071011
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to