summaryrefslogtreecommitdiff
path: root/recipes/mythtv/gmyth-upnp_0.7.0.bb
blob: be16cea59a685e6f3b526aebf1365cdebec95eab (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
26
27
28
29
DESCRIPTION = "GMyth is a library to access MythTV backend services."
LICENSE = "LGPLv2""
HOMEPAGE = "http://gmyth.sourceforge.net/wiki/index.php/Main_Page"

PR = "r3"

DEPENDS = "glib-2.0 mysql gmyth libupnp"

SRC_URI = "${SOURCEFORGE_MIRROR}/gmyth/${PN}_0.7-indt1.tar.gz"
S = "${WORKDIR}/${PN}"

inherit autotools

AUTOTOOLS_STAGE_PKGCONFIG = "1"

do_compile_append() {
        sed -i -e s:${STAGING_DIR_TARGET}::g \
               -e s,Version:,Version:\ 0\.7\.0,g \
               -e s:/${TARGET_SYS}::g \   
               -e s:clinkc::g \
                  gmyth-upnp.pc
}

do_install_append() {
        mv ${D}/${bindir}/test ${D}/${bindir}/gmyth-upnp-test
}

SRC_URI[md5sum] = "29e58ea47e1548d70e4498cabca249a6"
SRC_URI[sha256sum] = "f028ae7b331fdac9e5e70e4827fe1bcfa0274a9539e4224a9a49441776b2b517"