Annotation of /smage/branches/alx07x-stable/extras/xz-utils/xz-utils-5.2.5-r1.smage2
Parent Directory | Revision Log
Revision 15247 -
(hide annotations)
(download)
Fri Aug 7 07:40:50 2020 UTC (3 years, 9 months ago) by niro
File size: 981 byte(s)
Fri Aug 7 07:40:50 2020 UTC (3 years, 9 months ago) by niro
File size: 981 byte(s)
-release branches/alx07x-stable
1 | niro | 13928 | # $Id$ |
2 | |||
3 | PNAME="xz-utils" | ||
4 | PVER="5.2.5" | ||
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 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*" | ||
19 | sminclude multilib mbuild alx-split | ||
20 | |||
21 | SRC_URI=( | ||
22 | http://tukaani.org/xz/${SRCFILE} | ||
23 | mirror://${PNAME}/${SRCFILE} | ||
24 | ) | ||
25 | |||
26 | UP2DATE="updatecmd ${HOMEPAGE} | highesttarball" | ||
27 | |||
28 | src_compile() | ||
29 | { | ||
30 | mconfigure \ | ||
31 | --docdir=/usr/share/doc/${PNAME}-${PVER} \ | ||
32 | --enable-dynamic=yes \ | ||
33 | --enable-threads \ | ||
34 | --enable-nls \ | ||
35 | || die | ||
36 | |||
37 | mmake || die | ||
38 | } | ||
39 | |||
40 | alx_generic_src_install() | ||
41 | { | ||
42 | mmake DESTDIR=${BINDIR} install || die | ||
43 | minstalldocs AUTHORS ChangeLog COPYING* NEWS README THANKS TODO || die | ||
44 | # compress all docs (some get installed but not compressed) | ||
45 | compressdoc -g -9 ${BINDIR}/usr/share/doc/${PNAME}-${PVER} || die | ||
46 | |||
47 | # busybox compat | ||
48 | mdelete -r /usr/bin || die | ||
49 | } |