Annotation of /smage/trunk/extras/xz-utils/xz-utils-5.2.3-r1.smage2
Parent Directory | Revision Log
Revision 9610 -
(hide annotations)
(download)
Fri Jul 28 11:56:11 2017 UTC (7 years, 2 months ago) by niro
File size: 920 byte(s)
Fri Jul 28 11:56:11 2017 UTC (7 years, 2 months ago) by niro
File size: 920 byte(s)
auto added: ver bump to 5.2.3-r1
1 | niro | 9610 | # $Id$ |
2 | |||
3 | PNAME="xz-utils" | ||
4 | PVER="5.2.3" | ||
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 | PROVIDE="virtual/xz-utils" | ||
14 | |||
15 | SRCFILE="xz-${PVER}.tar.bz2" | ||
16 | SRCDIR="${BUILDDIR}/xz-${PVER}" | ||
17 | |||
18 | sminclude mbuild multilib | ||
19 | |||
20 | SRC_URI=( | ||
21 | http://tukaani.org/xz/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | ) | ||
24 | |||
25 | UP2DATE="updatecmd ${HOMEPAGE} | firsttarball" | ||
26 | |||
27 | src_compile() | ||
28 | { | ||
29 | mconfigure \ | ||
30 | --docdir=/usr/share/doc/${PNAME}-${PVER} \ | ||
31 | --enable-dynamic=yes \ | ||
32 | --enable-threads \ | ||
33 | --enable-nls \ | ||
34 | || die | ||
35 | |||
36 | mmake || die | ||
37 | } | ||
38 | |||
39 | src_install() | ||
40 | { | ||
41 | mmake DESTDIR=${BINDIR} install || die | ||
42 | minstalldocs AUTHORS ChangeLog COPYING* NEWS README THANKS TODO || die | ||
43 | # compress all docs (some get installed but not compressed) | ||
44 | compressdoc -g -9 ${BINDIR}/usr/share/doc/${PNAME}-${PVER} || die | ||
45 | |||
46 | # busybox compat | ||
47 | mdelete -r /usr/bin || die | ||
48 | } |