Magellan Linux

Annotation of /trunk/core/dmidecode/dmidecode-2.9-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
File size: 952 byte(s)
import repo
1 niro 2 # $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.9"
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"
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