Magellan Linux

Contents of /branches/magellan-next/core/unrar/unrar-4.0.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7382 - (show annotations) (download)
Tue Jan 11 18:20:21 2011 UTC (13 years, 4 months ago) by niro
File size: 726 byte(s)
auto added: ver bump to 4.0.4-r1
1 # $Id: unrar-3.9.6-r1.smage2 4054 2009-11-17 20:53:37Z niro $
2
3 PNAME="unrar"
4 PVER="4.0.4"
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 }