Magellan Linux

Contents of /branches/R11-unstable/extras/rapidsvn/rapidsvn-0.12.0-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25762 - (show annotations) (download)
Tue Nov 25 04:16:24 2014 UTC (9 years, 5 months ago) by niro
File size: 1112 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="rapidsvn"
4 PVER="0.12.0"
5 PBUILD="r2"
6
7 PCAT="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 }