Magellan Linux

Annotation of /trunk/core/lshw/lshw-02.14.b-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3163 - (hide annotations) (download)
Tue Oct 13 22:50:53 2009 UTC (14 years, 8 months ago) by niro
File size: 1082 byte(s)
auto added: ver bump to 02.14.b-r2
1 niro 3163 # $Id$
2    
3     PNAME="lshw"
4     PVER="02.14.b"
5     PBUILD="r2"
6    
7     PCATEGORIE="sys-apps"
8     STATE="unstable"
9    
10     DESCRIPTION="lshw is a small tool to provide detailed information on the hardware configuration of a machine."
11     HOMEPAGE="http://ezix.org/project/wiki/HardwareLiSter"
12    
13     DEPEND=">= virtual/glibc"
14     SDEPEND=">= sys-apps/sed-4"
15    
16     SRCFILE="${PNAME}-B.${PVER/.b/}.tar.gz"
17     SRCDIR="${BUILDDIR}/${PNAME}-B.${PVER/.b/}"
18    
19     SRC_URI=(
20     http://ezix.org/software/files/${SRCFILE}
21     mirror://${PNAME}/${SRCFILE}
22     )
23    
24     UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz | sed 's:B.\(.*\):\1.b:'"
25    
26     # note: when upgrading this x11-misc/lshw-gui must be also upgraded
27    
28     src_prepare()
29     {
30     munpack ${SRCFILE} || die
31     }
32    
33     src_compile()
34     {
35     cd ${SRCDIR}
36    
37     # fix CFLAGS
38     sed -i "/^CXXFLAGS/s/-Os/${CXXFLAGS}/" src/Makefile || die
39     sed -i "/^CXXFLAGS/s/-Os/${CXXFLAGS}/" src/core/Makefile || die
40     sed -i "/^CXXFLAGS/s/-Os/${CXXFLAGS}/" src/gui/Makefile || die
41    
42     mmake || die
43     }
44    
45     src_install()
46     {
47     cd ${SRCDIR}
48    
49     mmake DESTDIR=${BINDIR} install || die
50     minstalldocs COPYING README docs/{Changelog,TODO,lshw.xsd,proc_usb_info.txt} || die
51     }

Properties

Name Value
svn:keywords Id