1 SECTION = "console/network"
2 DESCRIPTION = "Point-to-Point Protocol (PPP) daemon"
3 HOMEPAGE = "http://samba.org/ppp/"
7 SRC_URI = "ftp://ftp.samba.org/pub/ppp/ppp-2.4.1.tar.gz \
8 file://pppd.patch;patch=1 \
9 file://man.patch;patch=1 \
16 inherit autotools libtool
18 EXTRA_OEMAKE = "STRIPPROG=${STRIP}"
19 EXTRA_OECONF = --disable-strip
21 do_install_append () {
22 install -d ${D}${bindir}/ ${D}${sysconfdir}/init.d
23 install -m 0755 ${WORKDIR}/pon ${D}${bindir}/pon
24 install -m 0755 ${WORKDIR}/poff ${D}${bindir}/poff
25 install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/ppp
26 install -m 0755 ${WORKDIR}/ip-up ${D}${sysconfdir}/ppp/
27 install -m 0755 ${WORKDIR}/ip-down ${D}${sysconfdir}/ppp/
28 install -d ${D}${sysconfdir}/ppp/ip-up.d/
29 install -d ${D}${sysconfdir}/ppp/ip-down.d/
32 CONFFILES_${PN}_nylon = "${sysconfdir}/ppp/pap-secrets ${sysconfdir}/ppp/chap-secrets"