Magellan Linux

Contents of /trunk/deprecated/kudzu/kudzu-1.2.86-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6076 - (show annotations) (download)
Thu Aug 19 12:22:35 2010 UTC (13 years, 10 months ago) by niro
File size: 1144 byte(s)
deprecated
1 # $Id: kudzu-1.2.86-r2.smage2 3194 2009-10-14 14:31:16Z niro $
2
3 PNAME="kudzu"
4 PVER="1.2.86"
5 PBUILD="r3"
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.32
16 >= dev-libs/popt-1.16
17 >= dev-lang/python-2.7"
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 }