Annotation of /trunk/core/dmidecode/dmidecode-2.12-r1.smage2
Parent Directory | Revision Log
Revision 29710 -
(hide annotations)
(download)
Tue Oct 10 07:13:36 2017 UTC (6 years, 11 months ago) by niro
File size: 860 byte(s)
Tue Oct 10 07:13:36 2017 UTC (6 years, 11 months ago) by niro
File size: 860 byte(s)
-updated UP2DATE uri
1 | niro | 17108 | # $Id$ |
2 | |||
3 | PNAME="dmidecode" | ||
4 | PVER="2.12" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="sys-apps" | ||
8 | |||
9 | DESCRIPTION="Dmidecode reports information about your system's hardware as described in your system BIOS according to the SMBIOS/DMI standard." | ||
10 | HOMEPAGE="http://www.nongnu.org/dmidecode/" | ||
11 | |||
12 | DEPEND=">= virtual/glibc" | ||
13 | |||
14 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
16 | |||
17 | sminclude mbuild | ||
18 | msetfeature "!check" | ||
19 | |||
20 | SRC_URI=( | ||
21 | http://download.savannah.gnu.org/releases/${PNAME}/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | ) | ||
24 | |||
25 | niro | 29710 | UP2DATE="updatecmd http://download.savannah.gnu.org/releases/${PNAME}/ | highesttarball" |
26 | niro | 17108 | |
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 | } |