Magellan Linux

Contents of /trunk/core/dmidecode/dmidecode-2.10-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3168 - (show annotations) (download)
Tue Oct 13 22:55:21 2009 UTC (14 years, 6 months ago) by niro
File size: 872 byte(s)
auto added: ver bump to 2.10-r2
1 # $Id$
2
3 PNAME="dmidecode"
4 PVER="2.10"
5 PBUILD="r2"
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}?C=M;O=A' | 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