Contents of /trunk/extras/lshw-gui/lshw-gui-02.12.01.b-r1.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1000 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1000 byte(s)
import repo
1 | # $Header: /magellan-cvs/smage/lshw-gui/lshw-gui-02.12.01.b-r1.smage2,v 1.1 2008/04/10 18:16:14 niro Exp $ |
2 | |
3 | PNAME="lshw-gui" |
4 | PVER="02.12.01.b" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="x11-misc" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="The GTK2+ gui for lshw." |
11 | HOMEPAGE="http://ezix.org/project/wiki/HardwareLiSter" |
12 | |
13 | DEPEND="== sys-apps/lshw-${PVER} |
14 | >= x11-libs/gtk2+-2.12" |
15 | |
16 | SDEPEND=">= sys-apps/sed-4" |
17 | |
18 | SRCFILE="${PNAME/-gui/}-B.${PVER/.b/}.tar.gz" |
19 | SRCDIR="${BUILDDIR}/${PNAME/-gui/}-B.${PVER/.b/}" |
20 | |
21 | SRC_URI=( |
22 | http://ezix.org/software/files/${SRCFILE} |
23 | mirror://lshw/${SRCFILE} |
24 | ) |
25 | |
26 | # note: when upgrading this sys-apss/lshw must be also upgraded |
27 | |
28 | src_prepare() |
29 | { |
30 | munpack ${SRCFILE} || die |
31 | } |
32 | |
33 | src_compile() { |
34 | cd ${SRCDIR} |
35 | |
36 | # fix CFLAGS |
37 | sed -i "/^CXXFLAGS/s/-Os/${CXXFLAGS}/" src/Makefile || die |
38 | sed -i "/^CXXFLAGS/s/-Os/${CXXFLAGS}/" src/core/Makefile || die |
39 | sed -i "/^CXXFLAGS/s/-Os/${CXXFLAGS}/" src/gui/Makefile || die |
40 | |
41 | mmake gui || die |
42 | } |
43 | |
44 | src_install() |
45 | { |
46 | cd ${SRCDIR} |
47 | mmake DESTDIR=${BINDIR} install-gui || die |
48 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |