1 DEPENDS += "virtual/libc ppp"
2 DESCRIPTION = " version of the Layer 2 Tunneling Protocol (L2TP) daemon"
4 HOMEPAGE = "http://www.xelerance.com/software/xl2tpd/"
9 SRC_URI = "http://www.xelerance.com/software/xl2tpd/xl2tpd-${PV}.tar.gz"
11 S = "${WORKDIR}/xl2tpd-${PV}"
14 oe_runmake CFLAGS="${CFLAGS} -DLINUX" LDFLAGS="${LDFLAGS}" PREFIX="${prefix}" all
18 oe_runmake PREFIX="${D}${prefix}" install
20 install -d ${D}${sysconfdir}/init.d
21 touch ${D}${sysconfdir}/xl2tpd.conf
22 install -m 0755 debian/xl2tpd.init ${D}${sysconfdir}/init.d/xl2tpd
23 install -d ${D}${sysconfdir}/default
24 install -m 0644 debian/xl2tpd.default ${D}${sysconfdir}/default/xl2tpd
27 CONFFILES_${PN} += "${sysconfdir}/xl2tpd.conf ${sysconfdir}/default/xl2tpd"