Contents of /branches/magellan-next/extras/babl/babl-0.1.6-r1.smage2
Parent Directory
|
Revision Log
Revision 9510 -
(show annotations)
(download)
Sun Dec 4 19:17:29 2011 UTC (12 years, 6 months ago) by niro
File size: 805 byte(s)
Sun Dec 4 19:17:29 2011 UTC (12 years, 6 months ago) by niro
File size: 805 byte(s)
auto added: ver bump to 0.1.6-r1
1 | # $Id$ |
2 | |
3 | PNAME="babl" |
4 | PVER="0.1.6" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="media-libs" |
8 | |
9 | DESCRIPTION="Babl is a library for dynamically handling pixel formats and managing conversions between them." |
10 | HOMEPAGE="http://www.gegl.org/babl/" |
11 | |
12 | DEPEND=">= virtual/glibc" |
13 | |
14 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
16 | |
17 | sminclude mbuild |
18 | |
19 | SRC_URI=( |
20 | ftp://ftp.gimp.org/pub/${PNAME}/${PVER%.*}/${SRCFILE} |
21 | mirror://${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${PNAME}-0.1.0-build-fixes.patch |
23 | ) |
24 | |
25 | # fixme |
26 | UP2DATE="echo ${PVER}" |
27 | |
28 | src_prepare() |
29 | { |
30 | munpack ${SRCFILE} || die |
31 | cd ${SRCDIR} |
32 | |
33 | # fix linking and install location |
34 | mpatch ${PNAME}-0.1.0-build-fixes.patch || die |
35 | autoreconf --install --force --verbose || die |
36 | } |
37 | |
38 | src_compile() |
39 | { |
40 | cd ${SRCDIR} |
41 | |
42 | mconfigure --enable-mmx --enable-sse || die |
43 | mmake || die |
44 | } |