Magellan Linux

Annotation of /branches/magellan-next/core/unrar/unrar-3.9.6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4054 - (hide annotations) (download)
Tue Nov 17 20:53:37 2009 UTC (14 years, 7 months ago) by niro
Original Path: trunk/core/unrar/unrar-3.9.6-r1.smage2
File size: 671 byte(s)
auto added: ver bump to 3.9.6-r1
1 niro 4054 # $Id$
2    
3     PNAME="unrar"
4     PVER="3.9.6"
5     PBUILD="r1"
6    
7     PCATEGORIE="app-arch"
8     STATE="unstable"
9    
10     DESCRIPTION="unrar uncompresses rar archive files."
11     HOMEPAGE="http://www.rarlab.com/rar_add.htm"
12    
13     DEPEND=""
14    
15     SRCFILE="${PNAME}src-${PVER}.tar.gz"
16     SRCDIR="${BUILDDIR}/${PNAME}"
17    
18     sminclude mtools
19    
20     SRC_URI=(
21     http://www.rarlab.com/rar/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     )
24    
25     UP2DATE="updatecmd ${HOMEPAGE} | grep ${PNAME}src- | lasttarball gz"
26    
27     src_prepare()
28     {
29     munpack ${SRCFILE} || die
30     }
31    
32     src_compile()
33     {
34     cd ${SRCDIR}
35     mmake -f makefile.unix CXXFLAGS="${CXXFLAGS}" || die
36     }
37    
38     src_install()
39     {
40     cd ${SRCDIR}
41    
42     minstallexec unrar || die
43     minstalldocs license.txt readme.txt || die
44     }

Properties

Name Value
svn:keywords Id