Magellan Linux

Contents of /trunk/extras/sdl-image/sdl-image-1.2.10-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5013 - (show annotations) (download)
Sun Feb 28 19:21:25 2010 UTC (14 years, 2 months ago) by niro
File size: 1179 byte(s)
auto added: ver bump to 1.2.10-r1
1 # $Id$
2
3 PNAME="sdl-image"
4 PVER="1.2.10"
5 PBUILD="r1"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 DESCRIPTION="Simple directmedia layer image libraries."
11 HOMEPAGE="http://www.libsdl.org/projects/SDL_image/"
12
13 DEPEND=">= media-libs/libsdl-1.2.14
14 >= sys-libs/zlib-1.2.3
15 >= media-libs/libjpeg-7
16 >= media-libs/libpng-1.2.40
17 >= media-libs/libtiff-3.9"
18
19 SRCFILE="SDL_image-${PVER}.tar.gz"
20 SRCDIR="${BUILDDIR}/SDL_image-${PVER}"
21
22 sminclude mbuild mtools
23
24 SRC_URI=(
25 http://www.libsdl.org/projects/SDL_image/release/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 )
28
29 UP2DATE="updatecmd ${HOMEPAGE}'/?C=M;O=A' | grep SDL_image-[0-9] | lasttarball gz"
30
31 # note: gif is internal only, no need to depend on giflib or libungif
32 src_compile()
33 {
34 cd ${SRCDIR}
35
36 mconfigure \
37 --disable-dependency-tracking \
38 --enable-gif \
39 --enable-jpg \
40 --enable-tif \
41 --enable-png \
42 --enable-pnm \
43 --enable-bmp \
44 --enable-lbm \
45 --enable-pcx \
46 --enable-tga \
47 --enable-xcf \
48 --enable-xpm \
49 || die
50
51 mmake || die
52 }
53
54 src_install()
55 {
56 cd ${SRCDIR}
57 make DESTDIR=${BINDIR} install || die
58
59 # missing binary
60 minstallexec .libs/showimage || die
61
62 # docs
63 minstalldocs CHANGES COPYING README || die
64 }

Properties

Name Value
svn:keywords Id