Contents of /branches/magellan-next/core/unrar/unrar-4.1.3-r1.smage2
Parent Directory | Revision Log
Revision 9169 -
(show annotations)
(download)
Tue Nov 8 17:21:25 2011 UTC (12 years, 10 months ago) by niro
File size: 654 byte(s)
Tue Nov 8 17:21:25 2011 UTC (12 years, 10 months ago) by niro
File size: 654 byte(s)
auto added: ver bump to 4.1.3-r1
1 | # $Id$ |
2 | |
3 | PNAME="unrar" |
4 | PVER="4.1.3" |
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 | } |