blob: 9de579917ca09ea641b2b1d255e5453d31c10642 (
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
|
LICENSE = "GPL"
DESCRIPTION = "Linux Digital Video Broadcast library"
DESCRIPTION_libdvb-dev = "Headers for libdvb development"
HOMEPAGE = "http://www.metzlerbros.org/dvb/index.html"
MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org"
SECTION = "libs"
PRIORITY = "optional"
PR = "r1"
SRC_URI = "http://www.metzlerbros.org/dvb/${PN}-${PV}.tar.gz"
S = "${WORKDIR}/${PN}-${PV}"
inherit autotools pkgconfig
do_configure() {
grep -v ^PREFIX ${S}/config.mk > ${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}
}
|