Annotation of /trunk/todo/sdl-image/sdl-image-1.2.6-r1.smage2
Parent Directory | Revision Log
Revision 2574 -
(hide annotations)
(download)
Thu Jul 9 20:34:19 2009 UTC (15 years, 2 months ago) by niro
File size: 1191 byte(s)
Thu Jul 9 20:34:19 2009 UTC (15 years, 2 months ago) by niro
File size: 1191 byte(s)
-moved to 'todo'
1 | niro | 2 | # $Header: /magellan-cvs/smage/sdl-image/sdl-image-1.2.6-r1.smage2,v 1.1 2008/03/23 23:55:19 niro Exp $ |
2 | |||
3 | PNAME="sdl-image" | ||
4 | PVER="1.2.6" | ||
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.13 | ||
14 | >= sys-libs/zlib-1.2 | ||
15 | >= media-libs/libjpeg-6b | ||
16 | >= media-libs/libpng-1.2.24 | ||
17 | >= media-libs/libtiff-3.8" | ||
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 | # note: gif is internal only, no needs to depend on giflib or libungif | ||
30 | src_compile() | ||
31 | { | ||
32 | cd ${SRCDIR} | ||
33 | |||
34 | mconfigure \ | ||
35 | --disable-dependency-tracking \ | ||
36 | --enable-gif \ | ||
37 | --enable-jpg \ | ||
38 | --enable-tif \ | ||
39 | --enable-png \ | ||
40 | --enable-pnm \ | ||
41 | --enable-bmp \ | ||
42 | --enable-lbm \ | ||
43 | --enable-pcx \ | ||
44 | --enable-tga \ | ||
45 | --enable-xcf \ | ||
46 | --enable-xpm \ | ||
47 | || die | ||
48 | |||
49 | mmake || die | ||
50 | } | ||
51 | |||
52 | src_install() | ||
53 | { | ||
54 | cd ${SRCDIR} | ||
55 | make DESTDIR=${BINDIR} install || die | ||
56 | |||
57 | # missing binary | ||
58 | minstallexec .libs/showimage || die | ||
59 | |||
60 | # docs | ||
61 | minstalldocs CHANGES COPYING README || die | ||
62 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |