1*4882a593SmuzhiyunSUMMARY = "Dibbler DHCPv6 client"
2*4882a593SmuzhiyunDESCRIPTION = "Dibbler is a portable DHCPv6 implementation. It supports stateful as well as stateless autoconfiguration for IPv6."
3*4882a593SmuzhiyunHOMEPAGE = "http://klub.com.pl/dhcpv6"
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
6*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=7236695bb6d4461c105d685a8b61c4e3"
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunSRCREV = "a7c6cf58a88a510cb00841351e75030ce78d36bf"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunSRC_URI = "git://github.com/tomaszmrugalski/dibbler;branch=master;protocol=https \
11*4882a593Smuzhiyun           file://dibbler_fix_getSize_crash.patch \
12*4882a593Smuzhiyun           "
13*4882a593SmuzhiyunPV = "1.0.1+1.0.2RC1+git${SRCREV}"
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunS = "${WORKDIR}/git"
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunPACKAGECONFIG ??= "debug bind-reuse resolvconf dns-update"
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunPACKAGECONFIG[debug] = "--enable-debug,,,"
20*4882a593SmuzhiyunPACKAGECONFIG[efence] = "--enable-efence,,,"
21*4882a593SmuzhiyunPACKAGECONFIG[bind-reuse] = "--enable-bind-reuse,,,"
22*4882a593SmuzhiyunPACKAGECONFIG[dst-addr-filter] = "--enable-dst-addr-check,,,"
23*4882a593SmuzhiyunPACKAGECONFIG[resolvconf] = "--enable-resolvconf,,,"
24*4882a593SmuzhiyunPACKAGECONFIG[dns-update] = "--enable-dns-update,,,"
25*4882a593SmuzhiyunPACKAGECONFIG[auth] = "--enable-auth,,,"
26*4882a593SmuzhiyunPACKAGECONFIG[gtest] = "--enable-gtest-static,,,"
27*4882a593Smuzhiyun
28*4882a593Smuzhiyuninherit autotools
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunDEPENDS += "flex-native"
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunLDFLAGS += "-pthread"
33*4882a593Smuzhiyun
34*4882a593SmuzhiyunPACKAGES =+ "${PN}-requestor ${PN}-client ${PN}-relay ${PN}-server"
35*4882a593Smuzhiyun
36*4882a593SmuzhiyunFILES:${PN}-client = "${sbindir}/${PN}-client"
37*4882a593SmuzhiyunFILES:${PN}-relay = "${sbindir}/${PN}-relay"
38*4882a593SmuzhiyunFILES:${PN}-requestor = "${sbindir}/${PN}-requestor"
39*4882a593SmuzhiyunFILES:${PN}-server = "${sbindir}/${PN}-server"
40