Annotation of /branches/magellan-next/core/libmng/libmng-1.0.10-r4.smage2
Parent Directory | Revision Log
Revision 6731 -
(hide annotations)
(download)
Wed Sep 22 11:48:53 2010 UTC (13 years, 7 months ago) by niro
File size: 1052 byte(s)
Wed Sep 22 11:48:53 2010 UTC (13 years, 7 months ago) by niro
File size: 1052 byte(s)
auto added: ver bump to 1.0.10-r4
1 | niro | 6731 | # $Id: libmng-1.0.10-r3.smage2 3479 2009-10-22 11:18:58Z niro $ |
2 | |||
3 | PNAME="libmng" | ||
4 | PVER="1.0.10" | ||
5 | PBUILD="r4" | ||
6 | |||
7 | PCATEGORIE="media-libs" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="Multiple-image Network Graphics (MNG), equivalent to animated PNG files." | ||
11 | HOMEPAGE="http://gjuyn.xs4all.nl/libmng/" | ||
12 | |||
13 | DEPEND=">= media-libs/lcms-1.18 | ||
14 | >= media-libs/libjpeg-7" | ||
15 | |||
16 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
18 | |||
19 | sminclude mtools | ||
20 | |||
21 | SRC_URI=( | ||
22 | sourceforge://${PNAME}/${SRCFILE} | ||
23 | mirror://${PNAME}/${SRCFILE} | ||
24 | ) | ||
25 | |||
26 | UP2DATE="updatecmd_sourceforge ${PNAME} ${PNAME}-devel" | ||
27 | |||
28 | src_prepare() | ||
29 | { | ||
30 | munpack ${SRCFILE} || die | ||
31 | cd ${SRCDIR} | ||
32 | |||
33 | # rebuild configure | ||
34 | ln -s makefiles/configure.in . || die | ||
35 | ln -s makefiles/Makefile.am . || die | ||
36 | mlibtoolize || die | ||
37 | autoreconf --force --install --verbose || die | ||
38 | } | ||
39 | |||
40 | src_compile() | ||
41 | { | ||
42 | cd ${SRCDIR} | ||
43 | |||
44 | mconfigure --with-lcms || die | ||
45 | mmake || die | ||
46 | } | ||
47 | |||
48 | src_install() | ||
49 | { | ||
50 | cd ${SRCDIR} | ||
51 | mmake DESTDIR=${BINDIR} install || die | ||
52 | |||
53 | minstallman doc/man/*.3 || die | ||
54 | minstallman doc/man/*.5 || die | ||
55 | |||
56 | minstalldocs CHANGES LICENSE README* || die | ||
57 | } |