aboutsummaryrefslogtreecommitdiff
path: root/recipes/lksctp-tools/lksctp-tools.inc
blob: 9cbc9630887897c378317c9815b3a1e39de9d506 (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
36
37
38
39
40
41
42
43
44
45
46
DESCRIPTION = "The Linux Kernel Stream Control Transmission Protocol (lksctp) project"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "LGPLv2"

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

INC_PR = "r1"

BBCLASSEXTEND = "native"

inherit autotools pkgconfig binconfig

do_install_append_virtclass-native() {
	:
}

RREPLACES = "lksctp"

LEAD_SONAME = "libsctp.so"

PACKAGES =+ "${PN}-withsctp ${PN}-utils"

FILES_${PN} = "${libexecdir}/* ${libdir}/lib*${SOLIBS} \
            ${sysconfdir} ${sharedstatedir} ${localstatedir} \
            ${base_libdir}/*${SOLIBS}"

FILES_${PN}-withsctp = " \
  ${libdir}/lksctp-tools/lib*"

FILES_${PN}-dev += " \
  ${datadir}/lksctp-tools/checksctp.c \
  ${datadir}/lksctp-tools/sctp_socket.c \
  ${datadir}/lksctp-tools/sctp_bind.c \
  ${datadir}/lksctp-tools/sctp_darn.c \
  ${datadir}/lksctp-tools/sctp_load_libs.c \
  ${datadir}/lksctp-tools/sctp_sockopt.c \
  ${datadir}/lksctp-tools/sctp_socket.h \
  ${datadir}/lksctp-tools/sctp_test.c \
  ${datadir}/lksctp-tools/sctp_darn.h"

FILES_${PN}-utils = " \
  ${bindir}/sctp_test \
  ${bindir}/sctp_darn \
  ${bindir}/checksctp \
  ${bindir}/withsctp"