Magellan Linux

Annotation of /branches/magellan-next/core/libmng/libmng-1.0.10-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6730 - (hide annotations) (download)
Wed Sep 22 11:47:05 2010 UTC (13 years, 8 months ago) by niro
File size: 1024 byte(s)
imported from trunk
1 niro 3477 # $Id$
2    
3     PNAME="libmng"
4     PVER="1.0.10"
5     PBUILD="r3"
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 niro 3478 DEPEND=">= media-libs/lcms-1.18
14     >= media-libs/libjpeg-7"
15 niro 3477
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 niro 3478 #export WANT_AUTOMAKE="1.9"
37 niro 3479 mlibtoolize || die
38 niro 3478 autoreconf --force --install --verbose || die
39 niro 3477 }
40    
41     src_compile()
42     {
43     cd ${SRCDIR}
44    
45     mconfigure --with-lcms || die
46     mmake || die
47     }
48    
49     src_install()
50     {
51     cd ${SRCDIR}
52     mmake DESTDIR=${BINDIR} install || die
53    
54     minstallman doc/man/*.3 || die
55     minstallman doc/man/*.5 || die
56    
57     minstalldocs CHANGES LICENSE README* || die
58     }

Properties

Name Value
svn:keywords Id