Magellan Linux

Contents of /smage/branches/alx-0_6_0/core/libtiff/libtiff-3.9.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2506 - (show annotations) (download)
Thu Jun 30 13:55:15 2011 UTC (12 years, 11 months ago) by niro
File size: 974 byte(s)
-removed STATE variable from smage files, use global distribution file for package/distribution states
1 # $Id$
2
3 PNAME="libtiff"
4 PVER="3.9.4"
5 PBUILD="r1"
6
7 PCATEGORIE="media-libs"
8
9 DESCRIPTION="LibTIFF - TIFF Library and Utilities."
10 HOMEPAGE="http://www.remotesensing.org/libtiff/"
11
12 DEPEND=">= media-libs/libjpeg-8
13 >= sys-libs/zlib-1.2.5"
14
15 SRCFILE="${PNAME/lib}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME/lib}-${PVER}"
17
18 REMOVE_DEPRECATED_MAGE_TARGETS=1
19 ALX_ONLY_KEEP="usr/$(mlibdir)/*.so usr/$(mlibdir)/*.so.*"
20 sminclude mbuild multilib alx-split
21
22 SRC_URI=(
23 ftp://ftp.remotesensing.org/pub/${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 )
26
27 # ignore beta and alpha versions
28 UP2DATE="updatecmd ftp://ftp.remotesensing.org/pub/${PNAME}/ | sed -e '/alpha/d' -e '/beta/d' | lasttarball gz"
29
30 src_compile()
31 {
32 mconfigure --without-x || die
33 mmake || die
34 }
35
36 src_install()
37 {
38 minstall_destdir || die
39
40 [ -d ${BINDIR}/usr/share/doc/tiff-${PVER} ] && rm -rf ${BINDIR}/usr/share/doc/tiff-${PVER}
41 minstalldocs COPYRIGHT ChangeLog HOWTO-RELEASE README RELEASE-DATE TODO VERSION || die
42 }