aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xmltv/xmltv_0.5.56.bb
blob: 842ef5fbd189049f1ca7ef706424ec17dcb2a807 (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
34
35
DESCRIPTION="prerequisites for xmltv"

PARALLEL_MAKE = ""
SRC_URI="http://downloads.sourceforge.net/xmltv/xmltv-${PV}.tar.bz2 \
         file://Makefile.PL.patch;patch=1"

RDEPENDS = "perl libxml-parser-perl libwww-perl libdate-manip-perl \
		libxml-twig-perl libxml-writer-perl libfile-slurp-perl \
		libtermreadkey-perl libarchive-zip-perl libio-zlib-perl \
		libdate-manip-perl \
                libhtml-treebuilder-perl libwww-mechanize-perl"
DEPENDS = "perl libxml-parser-perl-native libwww-perl-native libdate-manip-perl-native \
		libxml-twig-perl-native libxml-writer-perl-native libfile-slurp-perl-native \
		libtermreadkey-perl-native libarchive-zip-perl-native libio-zlib-perl-native \
		libdate-manip-perl-native \
                libhtml-treebuilder-perl-native libwww-mechanize-perl-native"

PR = "r1"

# cpan does not work, it installs things in the perl work dir iso the xmltv work dir
# root cause are bad definitions in perl/config.sh, but I don't know what they should be
# so for now commented out the cpan stuff and do the work myself.
#EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"

#inherit cpan

FILES_${PN} += "${libdir}"

do_configure() {
	perl Makefile.PL PREFIX=/usr 
}

do_install() {
	oe_runmake install DESTDIR=${D}
}