Magellan Linux

Contents of /branches/R11-stable/core/isl/isl-0.12.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22678 - (show annotations) (download)
Tue Oct 28 08:20:06 2014 UTC (9 years, 6 months ago) by niro
File size: 1138 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="isl"
4 PVER="0.12.2"
5 PBUILD="r2"
6
7 PCAT="dev-libs"
8
9 DESCRIPTION="Library for manipulating sets and relations of integer points bounded by linear constraints."
10 HOMEPAGE="http://freecode.com/projects/isl/"
11
12 DEPEND=">= dev-libs/gmp-6.0"
13
14 SRCFILE="${PNAME}-${PVER}.tar.bz2"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 sminclude multilib
18
19 SRC_URI=(
20 http://isl.gforge.inria.fr/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 )
23
24 UP2DATE="updatecmd http://freecode.com/projects/isl/releases.atom | grep '<title>${PNAME}' | sed 's:.*${PNAME}\ \(.*\)<.*:\1:;q'"
25
26 src_install()
27 {
28 mmake DESTDIR=${BINDIR} install || die
29
30 # move gdb scripts to a proper location and to pretty-print ldconfig
31 minstalldir /usr/share/gdb/auto-load/usr/$(mlibdir) || die
32 mv -v ${BINDIR}/usr/$(mlibdir)/libisl*gdb.py* ${BINDIR}/usr/share/gdb/auto-load/usr/$(mlibdir)/ || die
33 # multilib as well
34 if [[ $(mlibdir) != lib ]] && [[ -d ${BINDIR}/usr/lib ]]
35 then
36 minstalldir /usr/share/gdb/auto-load/usr/lib || die
37 mv -v ${BINDIR}/usr/lib/libisl*gdb.py* ${BINDIR}/usr/share/gdb/auto-load/usr/lib/ || die
38 fi
39
40 minstalldocs AUTHORS ChangeLog LICENSE README || die
41 }
42