Magellan Linux

Annotation of /branches/R11-stable/core/unrar/unrar-5.0.14-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20414 - (hide annotations) (download)
Thu Jan 2 07:57:48 2014 UTC (10 years, 5 months ago) by niro
File size: 669 byte(s)
-release branches/R11-stable
1 niro 20331 # $Id$
2    
3     PNAME="unrar"
4     PVER="5.0.14"
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++-4.8"
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- | lasttarball 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     }