Contents of /smage/branches/branch_0.9.0/kudzu/kudzu-1.2.84-r2.smage2
Parent Directory | Revision Log
Revision 4 -
(show annotations)
(download)
Sun Jan 11 00:50:17 2009 UTC (15 years, 8 months ago) by niro
File size: 1010 byte(s)
Sun Jan 11 00:50:17 2009 UTC (15 years, 8 months ago) by niro
File size: 1010 byte(s)
"copied"
1 | # $Header: /alx-cvs/smage-eglibc/kudzu/kudzu-1.2.84-r2.smage2,v 1.4 2008/06/04 17:40:50 niro Exp $ |
2 | |
3 | PNAME="kudzu" |
4 | PVER="1.2.84" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="sys-apps" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Kudzu is a Linux hardware probing library and the associated configuration program." |
11 | HOMEPAGE="http://fedora.redhat.com/projects/additional-projects/kudzu/" |
12 | |
13 | DEPEND="" |
14 | SDEPEND=">= sys-apps/pciutils-2.2 |
15 | >= dev-libs/dietlibc-0.31 |
16 | >= dev-libs/popt-1.13 |
17 | >= dev-lang/python-2.5" |
18 | |
19 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
21 | |
22 | sminclude alx |
23 | |
24 | SRC_URI=( |
25 | mirror://${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/${PNAME}-1.2.13-pciids.patch |
27 | ) |
28 | |
29 | src_prepare() |
30 | { |
31 | munpack ${SRCFILE} || die |
32 | cd ${SRCDIR} |
33 | |
34 | # fix pci.ids location |
35 | mpatch ${PNAME}-1.2.13-pciids.patch || die |
36 | } |
37 | |
38 | src_compile() |
39 | { |
40 | cd ${SRCDIR} |
41 | mmake RPM_OPT_FLAGS="${CFLAGS}" all || die |
42 | } |
43 | |
44 | src_install() |
45 | { |
46 | cd ${SRCDIR} |
47 | |
48 | mmake DESTDIR=${BINDIR} libdir=${BINDIR}/usr/$(mlibdir) install install-lib || die |
49 | minstalldocs COPYING README || die |
50 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |