Contents of /trunk/core/lshw/lshw-02.14.b-r1.smage2
Parent Directory | Revision Log
Revision 1357 -
(show annotations)
(download)
Sun May 3 19:45:28 2009 UTC (15 years, 4 months ago) by niro
File size: 1082 byte(s)
Sun May 3 19:45:28 2009 UTC (15 years, 4 months ago) by niro
File size: 1082 byte(s)
auto added: ver bump to 02.14.b-r1
1 | # $Id$ |
2 | |
3 | PNAME="lshw" |
4 | PVER="02.14.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 | 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 |