Magellan Linux

Contents of /trunk/core/xz-utils/xz-utils-5.0.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12851 - (show annotations) (download)
Wed Jul 4 11:38:57 2012 UTC (11 years, 11 months ago) by niro
File size: 857 byte(s)
auto added: ver bump to 5.0.4-r1
1 # $Id$
2
3 PNAME="xz-utils"
4 PVER="5.0.4"
5 PBUILD="r1"
6
7 PCAT="app-arch"
8
9 DESCRIPTION="Library and command line tools for XZ and LZMA compressed files."
10 HOMEPAGE="http://tukaani.org/xz/"
11
12 DEPEND=">= virtual/glibc"
13
14 SRCFILE="xz-${PVER}.tar.bz2"
15 SRCDIR="${BUILDDIR}/xz-${PVER}"
16
17 sminclude mbuild multilib
18
19 SRC_URI=(
20 http://tukaani.org/xz/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 )
23
24 UP2DATE="updatecmd ${HOMEPAGE} | firsttarball"
25
26 src_compile()
27 {
28 mconfigure \
29 --docdir=/usr/share/doc/${PNAME}-${PVER} \
30 --enable-dynamic=yes \
31 --enable-threads \
32 --enable-nls \
33 || die
34
35 mmake || die
36 }
37
38 src_install()
39 {
40 mmake DESTDIR=${BINDIR} install || die
41 minstalldocs AUTHORS ChangeLog COPYING* NEWS README THANKS TODO || die
42 # compress all docs (some get installed but not compressed)
43 ${MLIBDIR}/compressdoc -g -9 ${BINDIR}/usr/share/doc/${PNAME}-${PVER} || die
44 }