Contents of /branches/magellan-next/core/unrar/unrar-4.0.7-r1.smage2
Parent Directory | Revision Log
Revision 7657 -
(show annotations)
(download)
Sun May 29 18:46:53 2011 UTC (13 years, 4 months ago) by niro
File size: 671 byte(s)
Sun May 29 18:46:53 2011 UTC (13 years, 4 months ago) by niro
File size: 671 byte(s)
auto added: ver bump to 4.0.7-r1
1 | # $Id$ |
2 | |
3 | PNAME="unrar" |
4 | PVER="4.0.7" |
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 | } |