1SUMMARY = "Open implementation of the DVB Common Scrambling Algorithm, encrypt and decrypt "
2SECTION = "libs/multimedia"
3LICENSE = "LGPL-2.1-or-later"
4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
5
6SRCREV = "bc6c0b164a87ce05e9925785cc6fb3f54c02b026"
7
8SRC_URI = "git://code.videolan.org/videolan/libdvbcsa.git;protocol=https;branch=master \
9           file://libdvbcsa.pc \
10"
11
12S = "${WORKDIR}/git"
13
14inherit autotools lib_package pkgconfig
15
16do_install:append() {
17    install -D -m 0644 ${S}/src/dvbcsa/dvbcsa.h ${D}${includedir}/dvbcsa/dvbcsa.h
18    install -D -m 0644 ${UNPACKDIR}/libdvbcsa.pc ${D}${libdir}/pkgconfig/libdvbcsa.pc
19}
20