summaryrefslogtreecommitdiff
path: root/recipes/libdvb/libdvb_0.5.5.1.bb
blob: 5b6257ac9a643cb42df768b97e47e95ed599d095 (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
30
31
32
33
DESCRIPTION = "Linux Digital Video Broadcast library"
DESCRIPTION_libdvb-dev = "Headers for libdvb development"
HOMEPAGE = "http://www.metzlerbros.org/dvb/index.html"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPL"
PR = "r3"

SRC_URI = "http://www.metzlerbros.org/dvb/${P}.tar.gz \
          file://topf2ps.patch \
          file://gcc4.patch \
          file://ldflags.patch"

S = "${WORKDIR}/${PN}-${PV}"

PARALLEL_MAKE = ""

inherit autotools pkgconfig

do_configure() {
        grep -v ^PREFIX ${S}/config.mk | grep -v ^CFLAGS > ${S}/config.mk.new
        echo "PREFIX=${prefix}" >> ${S}/config.mk.new
        mv ${S}/config.mk.new ${S}/config.mk
}

do_stage() {
        install -d ${STAGING_INCDIR}/dvb
        install -m 0644 ${S}/include/*.h ${STAGING_INCDIR}/dvb
        oe_libinstall -a -C libdvb libdvb ${STAGING_LIBDIR}
}

SRC_URI[md5sum] = "47612d2f8a4d4dee746a166d8b7f6f77"
SRC_URI[sha256sum] = "941e8020129111377652bd7253ea85e6c133fd1c23c66bd9fc0ca9eabab1385a"