Contents of /trunk/core/dmidecode/dmidecode-2.10-r1.smage2
Parent Directory | Revision Log
Revision 290 -
(show annotations)
(download)
Thu Dec 18 22:33:35 2008 UTC (15 years, 9 months ago) by niro
File size: 957 byte(s)
Thu Dec 18 22:33:35 2008 UTC (15 years, 9 months ago) by niro
File size: 957 byte(s)
-ver bump to 2.10-r1
1 | # $Header: /magellan-cvs/smage/dmidecode/dmidecode-2.9-r1.smage2,v 1.2 2008/02/12 19:20:31 niro Exp $ |
2 | |
3 | PNAME="dmidecode" |
4 | PVER="2.10" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="sys-apps" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Dmidecode reports information about your system's hardware as described in your system BIOS according to the SMBIOS/DMI standard." |
11 | HOMEPAGE="http://www.nongnu.org/dmidecode/" |
12 | |
13 | DEPEND=">= virtual/glibc" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude mbuild |
19 | |
20 | SRC_URI=( |
21 | http://download.savannah.gnu.org/releases/${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | UP2DATE="updatecmd http://download.savannah.gnu.org/releases/${PNAME} | lasttarball bz2" |
26 | |
27 | src_prepare() |
28 | { |
29 | munpack ${SRCFILE} |
30 | cd ${SRCDIR} |
31 | |
32 | # fix some hardcoded pathes |
33 | sed -i "/^prefix/s:/usr/local:/usr:" Makefile || die |
34 | sed -i "/^docdir/s:dmidecode:${PNAME}-${PVER}:" Makefile || die |
35 | } |
36 | |
37 | src_compile() |
38 | { |
39 | cd ${SRCDIR} |
40 | mmake CFLAGS="${CFLAGS}" || die |
41 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |