Magellan Linux

Contents of /trunk/core/kudzu/kudzu-1.2.85-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 350 - (show annotations) (download)
Mon Dec 22 23:25:40 2008 UTC (15 years, 5 months ago) by niro
File size: 993 byte(s)
-ver bump to 1.2.85-r1
1 # $Header: /magellan-cvs/smage/kudzu/kudzu-1.2.84-r2.smage2,v 1.1 2008/04/14 22:04:50 niro Exp $
2
3 PNAME="kudzu"
4 PVER="1.2.85"
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-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 SRC_URI=(
23 mirror://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${PNAME}-1.2.13-pciids.patch
25 )
26
27 src_prepare()
28 {
29 munpack ${SRCFILE} || die
30 cd ${SRCDIR}
31
32 # fix pci.ids location
33 mpatch ${PNAME}-1.2.13-pciids.patch || die
34 }
35
36 src_compile()
37 {
38 cd ${SRCDIR}
39 mmake RPM_OPT_FLAGS="${CFLAGS}" all || die
40 }
41
42 src_install()
43 {
44 cd ${SRCDIR}
45
46 mmake DESTDIR=${BINDIR} libdir=${BINDIR}/usr/$(mlibdir) install install-lib || die
47 minstalldocs COPYING README || die
48 }

Properties

Name Value
svn:keywords Id