Magellan Linux

Contents of /trunk/core/unrar/unrar-5.6.8-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31541 - (show annotations) (download)
Fri Nov 30 07:27:57 2018 UTC (5 years, 4 months ago) by niro
File size: 671 byte(s)
auto added: ver bump to 5.6.8-r1
1 # $Id$
2
3 PNAME="unrar"
4 PVER="5.6.8"
5 PBUILD="r1"
6
7 PCAT="app-arch"
8
9 DESCRIPTION="unrar uncompresses rar archive files."
10 HOMEPAGE="http://www.rarlab.com/rar_add.htm"
11
12 DEPEND=">= sys-libs/libstdc++-5.3"
13
14 SRCFILE="${PNAME}src-${PVER}.tar.gz"
15 SRCDIR="${BUILDDIR}/${PNAME}"
16
17 sminclude mtools
18
19 SRC_URI=(
20 http://www.rarlab.com/rar/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 )
23
24 UP2DATE="updatecmd ${HOMEPAGE} | grep ${PNAME}src- | highesttarball gz"
25
26 src_prepare()
27 {
28 munpack ${SRCFILE} || die
29 }
30
31 src_compile()
32 {
33 cd ${SRCDIR}
34 mmake -f makefile CXXFLAGS="${CXXFLAGS}" || die
35 }
36
37 src_install()
38 {
39 cd ${SRCDIR}
40
41 minstallexec unrar || die
42 minstalldocs license.txt readme.txt || die
43 }