Contents of /trunk/core/lshw/lshw-02.12.01.b-r1.smage2
Parent Directory | Revision Log
Revision 1356 -
(show annotations)
(download)
Sun May 3 19:42:03 2009 UTC (15 years, 4 months ago) by niro
File size: 1102 byte(s)
Sun May 3 19:42:03 2009 UTC (15 years, 4 months ago) by niro
File size: 1102 byte(s)
-moved to 'core'
1 | # $Header: /magellan-cvs/smage/lshw/lshw-02.12.01.b-r1.smage2,v 1.1 2008/04/10 18:15:01 niro Exp $ |
2 | |
3 | PNAME="lshw" |
4 | PVER="02.12.01.b" |
5 | PBUILD="r1" |
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 | # note: when upgrading this x11-misc/lshw-gui must be also upgraded |
25 | |
26 | src_prepare() |
27 | { |
28 | munpack ${SRCFILE} || die |
29 | } |
30 | |
31 | src_compile() |
32 | { |
33 | cd ${SRCDIR} |
34 | |
35 | # fix CFLAGS |
36 | sed -i "/^CXXFLAGS/s/-Os/${CXXFLAGS}/" src/Makefile || die |
37 | sed -i "/^CXXFLAGS/s/-Os/${CXXFLAGS}/" src/core/Makefile || die |
38 | sed -i "/^CXXFLAGS/s/-Os/${CXXFLAGS}/" src/gui/Makefile || die |
39 | |
40 | mmake || die |
41 | } |
42 | |
43 | src_install() |
44 | { |
45 | cd ${SRCDIR} |
46 | |
47 | mmake DESTDIR=${BINDIR} install || die |
48 | minstalldocs COPYING README docs/{Changelog,TODO,lshw.xsd,proc_usb_info.txt} || die |
49 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |