Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9119 - (show annotations) (download)
Mon Nov 7 14:26:13 2011 UTC (12 years, 5 months ago) by niro
File size: 654 byte(s)
auto added: ver bump to 4.1.2-r1
1 # $Id$
2
3 PNAME="unrar"
4 PVER="4.1.2"
5 PBUILD="r1"
6
7 PCATEGORIE="app-arch"
8
9 DESCRIPTION="unrar uncompresses rar archive files."
10 HOMEPAGE="http://www.rarlab.com/rar_add.htm"
11
12 DEPEND=""
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.unix 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 }