Magellan Linux

Contents of /trunk/extras/babl/babl-0.1.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:keywords Id