aboutsummaryrefslogtreecommitdiff
path: root/recipes/lksctp-tools/lksctp-tools.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/lksctp-tools/lksctp-tools.inc')
-rw-r--r--recipes/lksctp-tools/lksctp-tools.inc32
1 files changed, 25 insertions, 7 deletions
diff --git a/recipes/lksctp-tools/lksctp-tools.inc b/recipes/lksctp-tools/lksctp-tools.inc
index 02ec988..9cbc963 100644
--- a/recipes/lksctp-tools/lksctp-tools.inc
+++ b/recipes/lksctp-tools/lksctp-tools.inc
@@ -5,24 +5,42 @@ LICENSE = "LGPLv2"
S = "${WORKDIR}/${BPN}-${PV}"
-INC_PR = "r0"
+INC_PR = "r1"
BBCLASSEXTEND = "native"
inherit autotools pkgconfig binconfig
-export LDFLAGS += "-ldl"
-
do_install_append_virtclass-native() {
:
}
-DEBIANNAME_${PN} = "lksctp"
+RREPLACES = "lksctp"
+
+LEAD_SONAME = "libsctp.so"
+
+PACKAGES =+ "${PN}-withsctp ${PN}-utils"
-PACKAGES =+ "${PN}-tools"
FILES_${PN} = "${libexecdir}/* ${libdir}/lib*${SOLIBS} \
${sysconfdir} ${sharedstatedir} ${localstatedir} \
${base_libdir}/*${SOLIBS}"
-FILES_${PN}-dev += "${bindir}/*-config"
-FILES_${PN}-utils = ""
+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"