fbset_2.1: add dependency on bison-native
[openembedded.git] / recipes / xl2tpd / xl2tpd.inc
blobda47d7e90b08a8e668035729e4bdec6e7fe2a650
1 DEPENDS += "virtual/libc ppp"
2 DESCRIPTION = " version of the Layer 2 Tunneling Protocol (L2TP) daemon"
3 LICENSE = "GPLv2"
4 HOMEPAGE = "http://www.xelerance.com/software/xl2tpd/"
5 SECTION = "network"
7 INC_PR  = "r0"
9 SRC_URI = "http://www.xelerance.com/software/xl2tpd/xl2tpd-${PV}.tar.gz"
11 S = "${WORKDIR}/xl2tpd-${PV}"
13 do_compile () {
14         oe_runmake CFLAGS="${CFLAGS} -DLINUX" LDFLAGS="${LDFLAGS}" PREFIX="${prefix}" all
17 do_install () { 
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"