Magellan Linux

Annotation of /branches/R11-stable/core/hdparm/hdparm-9.43-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14777 - (hide annotations) (download)
Wed Jan 2 09:24:20 2013 UTC (11 years, 8 months ago) by niro
File size: 599 byte(s)
-release branches/R11-stable
1 niro 14076 # $Id$
2    
3     PNAME="hdparm"
4     PVER="9.43"
5     PBUILD="r1"
6    
7     PCAT="sys-apps"
8    
9     DESCRIPTION="Utility to change hard drive performance parameters."
10     HOMEPAGE="http://sourceforge.net/projects/hdparm/"
11    
12     DEPEND=">= virtual/glibc"
13    
14     SRCFILE="${PNAME}-${PVER}.tar.gz"
15     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16    
17     sminclude mtools
18    
19     SRC_URI=(
20     sourceforge://${PNAME}/${SRCFILE}
21     mirror://${PNAME}/${SRCFILE}
22     )
23    
24     UP2DATE="updatecmd_sourceforge ${PNAME} gz"
25    
26     src_prepare()
27     {
28     munpack ${SRCFILE} || die
29     cd ${SRCDIR}
30    
31     # fix CFLAGS
32     sed -i "/^CFLAGS/ s:-O2:${CFLAGS}:" Makefile || die
33     }
34    
35     src_compile()
36     {
37     cd ${SRCDIR}
38     mmake || die
39     }