[Frugalware-darcs] frugalware-current: dmidecode-2.8-1-i686

crazy crazy at frugalware.org
Tue Nov 21 02:20:24 CET 2006


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-current;a=darcs_commitdiff;h=20061121011717-f6986-6f41b51ab23004f278898caf2d925477a449cf8a.gz;

[dmidecode-2.8-1-i686
crazy <crazy at frugalware.org>**20061121011717
 * New package
] {
adddir ./source/apps/dmidecode
addfile ./source/apps/dmidecode/FrugalBuild
addfile ./source/apps/dmidecode/makefile.patch
hunk ./source/apps/dmidecode/FrugalBuild 1
+# Compiling Time: 0.01 SBU
+# Maintainer: crazy <crazy at frugalware.org>
+
+pkgname=dmidecode
+pkgver=2.8
+pkgrel=1
+pkgdesc="Desktop Management Interface (DMI) table related utilities."
+url="http://www.nongnu.org/dmidecode/"
+depends=('glibc')
+groups=('apps')
+archs=('i686' 'x86_64')
+up2date="lynx -dump http://download.savannah.gnu.org/releases/dmidecode/|Flasttar"
+source=(http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz makefile.patch)
+sha1sums=('7f0b2d7689de64ef849cb9332f5f6ccee134f9dd' \
+          '0949964ccab7d0dbc476216f99a6ed24be9898e8')
+
+
+# optimization OK
hunk ./source/apps/dmidecode/makefile.patch 1
+diff -Naurp dmidecode-2.8/Makefile dmidecode-2.8-p/Makefile
+--- dmidecode-2.8/Makefile	2005-10-03 20:38:20.000000000 +0200
++++ dmidecode-2.8-p/Makefile	2006-11-21 02:02:25.000000000 +0100
+@@ -9,7 +9,7 @@
+ #
+ 
+ CC      = gcc
+-CFLAGS  = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
++CFLAGS  += -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
+           -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef
+ #CFLAGS += -DBIGENDIAN
+ #CFLAGS += -DALIGNMENT_WORKAROUND
+@@ -19,10 +19,10 @@ CFLAGS += -O2
+ #CFLAGS += -g
+ 
+ # Pass linker flags here
+-LDFLAGS =
++LDFLAGS += 
+ 
+ DESTDIR =
+-prefix  = /usr/local
++prefix  = /usr
+ sbindir = $(prefix)/sbin
+ mandir  = $(prefix)/share/man
+ man8dir = $(mandir)/man8
}


More information about the Frugalware-darcs mailing list