Annotation of /trunk/extras/rar/rar-3.9.1b1-r1.smage2
Parent Directory | Revision Log
Revision 4057 -
(hide annotations)
(download)
Tue Nov 17 21:00:33 2009 UTC (14 years, 7 months ago) by niro
File size: 1241 byte(s)
Tue Nov 17 21:00:33 2009 UTC (14 years, 7 months ago) by niro
File size: 1241 byte(s)
auto added: ver bump to 3.9.1b1-r1
1 | niro | 4056 | # $Id$ |
2 | |||
3 | PNAME="rar" | ||
4 | PVER="3.9.1b1" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="app-arch" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="rar - creating and decompressing rar files." | ||
11 | HOMEPAGE="http://www.rarlab.com/" | ||
12 | |||
13 | DEPEND="" | ||
14 | |||
15 | SRCFILE_x86="${PNAME}linux-${PVER}.tar.gz" | ||
16 | SRCFILE_x86_64="${PNAME}linux-x64-${PVER}.tar.gz" | ||
17 | # decide between x86 and x86_64 arch | ||
18 | SRCFILE="$(eval echo \$SRCFILE_${ARCH/i*86/x86})" | ||
19 | SRCDIR="${BUILDDIR}/${PNAME}" | ||
20 | |||
21 | sminclude mtools | ||
22 | |||
23 | SRC_URI=( | ||
24 | http://www.rarlab.com/${PNAME}/${SRCFILE_x86} | ||
25 | http://www.rarlab.com/${PNAME}/${SRCFILE_x86_64} | ||
26 | niro | 4057 | mirror://${PNAME}/${SRCFILE_x86} |
27 | mirror://${PNAME}/${SRCFILE_x86_64} | ||
28 | niro | 4056 | ) |
29 | |||
30 | UP2DATE="updatecmd ${HOMEPAGE}/download.htm | grep ${PNAME}linux- | firsttarball gz" | ||
31 | |||
32 | src_prepare() | ||
33 | { | ||
34 | munpack ${SRCFILE} || die | ||
35 | } | ||
36 | |||
37 | src_install() | ||
38 | { | ||
39 | cd ${SRCDIR} | ||
40 | |||
41 | # needed directories | ||
42 | minstalldir /opt/bin || die | ||
43 | minstalldir /opt/rar/bin || die | ||
44 | minstalldir /opt/rar/etc || die | ||
45 | minstalldir /opt/rar/lib || die | ||
46 | |||
47 | # bins | ||
48 | minstallexec rar /opt/rar/bin || die | ||
49 | minstallexec unrar /opt/rar/bin || die | ||
50 | |||
51 | mlink /opt/rar/bin/rar /opt/bin || die | ||
52 | mlink /opt/rar/bin/unrar /opt/bin || die | ||
53 | |||
54 | # libs | ||
55 | minstallfile default.sfx /opt/rar/lib || die | ||
56 | |||
57 | # confs | ||
58 | minstallfile rarfiles.lst /opt/rar/etc || die | ||
59 | |||
60 | # docs | ||
61 | minstalldocs *.txt *.diz || die | ||
62 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |