Magellan Linux

Contents of /branches/magellan-next/core/dmidecode/dmidecode-2.11-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8359 - (show annotations) (download)
Fri Jul 15 08:58:17 2011 UTC (12 years, 10 months ago) by niro
File size: 855 byte(s)
auto added: ver bump to 2.11-r1
1 # $Id$
2
3 PNAME="dmidecode"
4 PVER="2.11"
5 PBUILD="r1"
6
7 PCATEGORIE="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
19 SRC_URI=(
20 http://download.savannah.gnu.org/releases/${PNAME}/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 )
23
24 UP2DATE="updatecmd 'http://download.savannah.gnu.org/releases/${PNAME}?C=M;O=A' | lasttarball bz2"
25
26 src_prepare()
27 {
28 munpack ${SRCFILE}
29 cd ${SRCDIR}
30
31 # fix some hardcoded pathes
32 sed -i "/^prefix/s:/usr/local:/usr:" Makefile || die
33 sed -i "/^docdir/s:dmidecode:${PNAME}-${PVER}:" Makefile || die
34 }
35
36 src_compile()
37 {
38 cd ${SRCDIR}
39 mmake CFLAGS="${CFLAGS}" || die
40 }