Magellan Linux

Annotation of /trunk/core/unrar/unrar-5.6.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30827 - (hide annotations) (download)
Mon Apr 23 11:52:30 2018 UTC (6 years ago) by niro
File size: 671 byte(s)
auto added: ver bump to 5.6.3-r1
1 niro 30827 # $Id$
2    
3     PNAME="unrar"
4     PVER="5.6.3"
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     }