Contents of /trunk/todo/rar/rar-3.7.1-r1.smage2
Parent Directory | Revision Log
Revision 2558 -
(show annotations)
(download)
Thu Jul 9 20:31:48 2009 UTC (15 years, 2 months ago) by niro
File size: 1002 byte(s)
Thu Jul 9 20:31:48 2009 UTC (15 years, 2 months ago) by niro
File size: 1002 byte(s)
-moved to 'todo'
1 | # $Header: /magellan-cvs/smage/rar/rar-3.7.1-r1.smage2,v 1.1 2008/04/20 23:18:57 niro Exp $ |
2 | |
3 | PNAME="rar" |
4 | PVER="3.7.1" |
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="${PNAME}linux-${PVER}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}" |
17 | |
18 | sminclude mtools |
19 | |
20 | SRC_URI=( |
21 | http://www.rarlab.com/${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | src_prepare() |
26 | { |
27 | munpack ${SRCFILE} || die |
28 | } |
29 | |
30 | src_install() |
31 | { |
32 | cd ${SRCDIR} |
33 | |
34 | # needed directories |
35 | minstalldir /opt/bin || die |
36 | minstalldir /opt/rar/bin || die |
37 | minstalldir /opt/rar/etc || die |
38 | minstalldir /opt/rar/lib || die |
39 | |
40 | # bins |
41 | minstallexec rar /opt/rar/bin || die |
42 | minstallexec unrar /opt/rar/bin || die |
43 | |
44 | mlink /opt/rar/bin/rar /opt/bin || die |
45 | mlink /opt/rar/bin/unrar /opt/bin || die |
46 | |
47 | # libs |
48 | minstallfile default.sfx /opt/rar/lib || die |
49 | |
50 | # confs |
51 | minstallfile rarfiles.lst /opt/rar/etc || die |
52 | |
53 | # docs |
54 | minstalldocs *.txt *.diz || die |
55 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |