Contents of /branches/magellan-next/extras/rapidsvn/rapidsvn-0.12.0-r1.smage2
Parent Directory | Revision Log
Revision 9305 -
(show annotations)
(download)
Fri Nov 25 15:34:18 2011 UTC (12 years, 10 months ago) by niro
File size: 1118 byte(s)
Fri Nov 25 15:34:18 2011 UTC (12 years, 10 months ago) by niro
File size: 1118 byte(s)
auto added: ver bump to 0.12.0-r1
1 | # $Id$ |
2 | |
3 | PNAME="rapidsvn" |
4 | PVER="0.12.0" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="dev-util" |
8 | |
9 | DESCRIPTION="RapidSVN is a front-end for Subversion using the wxWidgets framework." |
10 | HOMEPAGE="http://www.rapidsvn.org/" |
11 | |
12 | DEPEND=">= x11-libs/wxgtk-2.8 |
13 | >= dev-util/subversion-1.7" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}-1.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}-1" |
17 | |
18 | sminclude mbuild mtools xdg |
19 | |
20 | SRC_URI=( |
21 | http://www.rapidsvn.org/download/release/${PVER%.*}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${PNAME}-${PVER}-svn17.patch |
24 | ) |
25 | |
26 | # fixme |
27 | UP2DATE="echo ${PVER}" |
28 | |
29 | src_prepare() |
30 | { |
31 | munpack ${SRCFILE} || die |
32 | cd ${SRCDIR} |
33 | |
34 | # fix runtime issues with subversion-1.7.x |
35 | mpatch ${PNAME}-${PVER}-svn17.patch || die |
36 | } |
37 | |
38 | src_install() |
39 | { |
40 | cd ${SRCDIR} |
41 | make DESTDIR=${BINDIR} install || die |
42 | |
43 | minstallpixmap src/res/bitmaps/rapidsvn_48x48.xpm || die |
44 | minstall_desktop_icon \ |
45 | --name RapidSVN \ |
46 | --file rapidsvn.deskop \ |
47 | --comment="SVN source viewer" \ |
48 | --exec rapidsvn \ |
49 | --icon rapidsvn_48x48 \ |
50 | --categories "Application,Development" \ |
51 | || die |
52 | |
53 | minstalldocs AUTHORS ChangeLog CHANGES COPYING NEW README TRANSLATIONS *.txt || die |
54 | } |