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 PACKAGE_ARCH = "${MACHINE_ARCH}"
11 SRC_URI = "ftp://ftp.xelerance.com/xl2tpd/xl2tpd-${PV}.tar.gz"
13 S = "${WORKDIR}/xl2tpd-${PV}"
16 oe_runmake CFLAGS="${CFLAGS} -DLINUX" LDFLAGS="${LDFLAGS}" PREFIX="/usr" KERNELSRC=${STAGING_KERNEL_DIR} all
20 oe_runmake PREFIX="${D}${prefix}" install
22 install -d ${D}${sysconfdir}/init.d
23 touch ${D}${sysconfdir}/xl2tpd.conf
24 install -m 0755 debian/xl2tpd.init ${D}${sysconfdir}/init.d/xl2tpd
25 install -d ${D}${sysconfdir}/default
26 install -m 0644 debian/xl2tpd.default ${D}${sysconfdir}/default/xl2tpd
29 CONFFILES_${PN} += "${sysconfdir}/xl2tpd.conf ${sysconfdir}/default/xl2tpd"
30 FILES_${PN} += "${bindir} ${sbindir}"
31 FILES_${PN}-doc += "${sharedir}"