summaryrefslogtreecommitdiff
path: root/recipes/qsvn/qsvn.inc
blob: 8527d1ddb2180247b34ea35723f55e048e4814da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
DESCRIPTION = "QSvn is a graphical Subversion client for Linux, UNIX, Mac OS X and Windows. \
It is written in C++ using the Qt4 toolkit from Trolltech."
HOMEPAGE = "http://ar.oszine.de/projects/qsvn/"
AUTHOR = "Andreas Richter, Rajko Albrecht"
LICENSE = "GPL"
SECTION = "network"
DEPENDS = "apr-util subversion"
PR = "r0"

def vars_from_file(filename):
    import os
    return os.path.splitext(os.path.basename(filename))[0]

FN := "${@vars_from_file(bb.data.getVar('FILE',d))}"

SRC_URI = "http://download2.berlios.de/${FN}/${FN}-${PV}-src.tar.gz \
        file://build.patch;apply=yes"
S = "${WORKDIR}/${FN}-${PV}"

EXTRA_QMAKEVARS_POST += "INCLUDEPATH+=${STAGING_INCDIR}/subversion-1"

do_install() {
	install -d ${D}${bindir}
	install -m 0755 bin/qsvn ${D}${bindir}/${PN}
}