Magellan Linux

Contents of /branches/magellan-next/extras/qhull/qhull-2010.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8704 - (show annotations) (download)
Wed Jul 27 21:44:35 2011 UTC (12 years, 9 months ago) by niro
File size: 736 byte(s)
auto added: ver bump to 2010.1-r1
1 # $Id$
2
3 PNAME="qhull"
4 PVER="2010.1"
5 PBUILD="r1"
6
7 PCATEGORIE="media-libs"
8
9 DESCRIPTION="A general dimension code for computing convex hulls and related structures."
10 HOMEPAGE="http://www.qhull.org/"
11
12 DEPEND=">= virtual/glibc"
13
14 SRCFILE="${PNAME}-${PVER}-src.tgz"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 sminclude cmake mtools
18
19 SRC_URI=(
20 http://www.qhull.org/download/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${PNAME}-${PVER}-cmake-install.patch
23 mirror://${PNAME}/${PNAME}-${PVER}-overflows.patch
24 )
25
26 UP2DATE="updatecmd ${HOMEPAGE}/download | lasttarball tgz"
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31 cd ${SRCDIR}
32
33 mpatch ${PNAME}-${PVER}-cmake-install.patch || die
34 mpatch ${PNAME}-${PVER}-overflows.patch || die
35 }