Contents of /trunk/core/hwinfo/hwinfo-16.10-r1.smage2
Parent Directory | Revision Log
Revision 3607 -
(show annotations)
(download)
Tue Oct 27 10:17:36 2009 UTC (14 years, 11 months ago) by niro
File size: 1291 byte(s)
Tue Oct 27 10:17:36 2009 UTC (14 years, 11 months ago) by niro
File size: 1291 byte(s)
-fixed patchwork
1 | # $Id$ |
2 | |
3 | PNAME="hwinfo" |
4 | PVER="16.10" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="sys-apps" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="hwinfo is the hardware detection tool used in SuSE Linux." |
11 | HOMEPAGE="http://www.suse.com/" |
12 | |
13 | DEPEND=">= sys-fs/sysfsutils-2 |
14 | >= sys-apps/hal-0.5.13 |
15 | >= sys-apps/dbus-1.3" |
16 | |
17 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
19 | |
20 | sminclude mtools |
21 | |
22 | SRC_URI=( |
23 | http://ftp.de.debian.org/debian/pool/main/h/${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${PNAME}-${PVER}-debian-all-1.patch |
26 | mirror://${PNAME}/${PNAME}-13.41-remove-sbin.patch |
27 | ) |
28 | |
29 | #UP2DATE="updatecmd http://ftp.de.debian.org/debian/pool/main/h/${PNAME} | grep .tar.gz | sed -n 's/.*_\(.*\).orig.*/\1/;$ p'" |
30 | # fake - taken newest from suse |
31 | UP2DATE="echo ${PVER}" |
32 | |
33 | src_prepare() |
34 | { |
35 | munpack ${SRCFILE} || die |
36 | cd ${SRCDIR} |
37 | |
38 | # apply debian patches |
39 | mpatch ${PNAME}-${PVER}-debian-all-1.patch || die |
40 | |
41 | # remove empty $(destdir)/sbin from makefile |
42 | mpatch ${PNAME}-13.41-remove-sbin.patch || die |
43 | } |
44 | |
45 | src_compile() |
46 | { |
47 | cd ${SRCDIR} |
48 | mmake -j1 EXTRA_FLAGS="${CFLAGS}" LIBDIR=/usr/$(mlibdir) || die |
49 | } |
50 | |
51 | src_install() |
52 | { |
53 | cd ${SRCDIR} |
54 | mmake DESTDIR=${BINDIR} install || die |
55 | mkeepdir /var/lib/hardware/udi || die |
56 | |
57 | minstallman doc/hwinfo.8 || die |
58 | minstalldocs Changelog COPYING README VERSION || die |
59 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |