[weasel-commit] Source: dmidecode=2.10-2

  • From: rbuilder@xxxxxxxxx
  • To: weasel-commit@xxxxxxxxxxxxx
  • Date: Wed, 13 Jan 2010 13:34:32 -0500

================================
dmidecode:source=2.10-2 (previous: 2.10-1)
cvc rdiff dmidecode -1 /weasel.rpath.org@wgl:3-devel/2.10-2
================================
2.10-2 Filip Brcic (brcha@xxxxxxx) Wed Jan 13 13:34:21 2010
    fixed recipe and metadata

dmidecode.recipe: changed
Index: dmidecode.recipe
====================================================================
contents(size sha1)
inode(mtime)
--- dmidecode.recipe /weasel.rpath.org@wgl:3-devel/2.10-1
+++ dmidecode.recipe /weasel.rpath.org@wgl:3-devel/2.10-2
@@ -1,14 +1,38 @@
 #
-# Copyright (c) 2004-2007 rPath, Inc.
-# This file is distributed under the terms of the MIT License.
-# A copy is available at http://www.rpath.com/permanent/mit-license.html
+# Copyright (c) 2010 Filip Brcic <brcha@xxxxxxxxxxxx>
+# Distributed under the terms of the GNU General Public License v3
 #
 
 class Dmidecode(CPackageRecipe):
     name = 'dmidecode'
     version = '2.10'
 
+    buildRequires = []
+
+    shortDesc  = 'DMI (Desktop Management Interface) table related utilities'
+    longDesc   = """
+Dmidecode reports information about your system's hardware as
+described in your system BIOS according to the SMBIOS/DMI
+standard. This information typically includes system manufacturer,
+model name, serial number, BIOS version, asset tag as well as a lot of
+other details of varying level of interest and reliability depending
+on the manufacturer. This will often include usage status for the CPU
+sockets, expansion slots (e.g. AGP, PCI, ISA) and memory module slots,
+and the list of I/O ports (e.g. serial, parallel, USB).
+"""
+    url        = 'http://www.nongnu.org/dmidecode/'
+    licenses   = [ 'GPL-2' ]
+    categories = [ 'System' ]
+
     def setup(r):
-        r.addArchive('http://savannah.nongnu.org/download/%(name)s/')
+        r.addArchive('http://savannah.nongnu.org/download/dmidecode/')
+
+        r.Replace('/usr/local', '%(prefix)s',
+                  'Makefile',
+                  lines='^prefix')
+        r.Replace('dmidecode', '%(name)s-%(version)s',
+                  'Makefile',
+                  lines='^docdir')
+
         r.Make()
-        r.MakeInstall('prefix=/usr')
+        r.MakeInstall()



Committed by: brcha

Other related posts: