Contents of /branches/magellan-0_10_0/core/kudzu/kudzu-1.2.86-r1.smage2
Parent Directory | Revision Log
Revision 3000 -
(show annotations)
(download)
Mon Oct 5 18:47:41 2009 UTC (14 years, 11 months ago) by niro
File size: 1088 byte(s)
Mon Oct 5 18:47:41 2009 UTC (14 years, 11 months ago) by niro
File size: 1088 byte(s)
created branch 'magellan-0_10_0'
1 | # $Id$ |
2 | |
3 | PNAME="kudzu" |
4 | PVER="1.2.86" |
5 | PBUILD="r1" |
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-3 |
15 | >= dev-libs/dietlibc-0.31 |
16 | >= dev-libs/popt-1.15 |
17 | >= dev-lang/python-2.6" |
18 | |
19 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
21 | |
22 | SRC_URI=( |
23 | https://fedorahosted.org/releases/${PNAME:0:1}/${PNAME:1:1}/${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${PNAME}-1.2.13-pciids.patch |
26 | ) |
27 | |
28 | UP2DATE="updatecmd https://fedorahosted.org/releases/${PNAME:0:1}/${PNAME:1:1}/${PNAME}/ | lasttarball" |
29 | |
30 | src_prepare() |
31 | { |
32 | munpack ${SRCFILE} || die |
33 | cd ${SRCDIR} |
34 | |
35 | # fix pci.ids location |
36 | mpatch ${PNAME}-1.2.13-pciids.patch || die |
37 | } |
38 | |
39 | src_compile() |
40 | { |
41 | cd ${SRCDIR} |
42 | mmake RPM_OPT_FLAGS="${CFLAGS}" all || die |
43 | } |
44 | |
45 | src_install() |
46 | { |
47 | cd ${SRCDIR} |
48 | |
49 | mmake DESTDIR=${BINDIR} libdir=${BINDIR}/usr/$(mlibdir) install install-lib || die |
50 | minstalldocs COPYING README || die |
51 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |