1 ################################################################################
5 ################################################################################
7 RP_PPPOE_VERSION
= 3.11
8 RP_PPPOE_SITE
= http
://www.roaringpenguin.com
/files
/download
9 RP_PPPOE_LICENSE
= GPLv2
10 RP_PPPOE_LICENSE_FILES
= doc
/LICENSE
11 RP_PPPOE_DEPENDENCIES
= pppd
13 RP_PPPOE_TARGET_FILES
= pppoe pppoe-server pppoe-relay pppoe-sniff
14 RP_PPPOE_TARGET_SCRIPTS
= pppoe-connect pppoe-init pppoe-setup pppoe-start \
15 pppoe-status pppoe-stop
16 RP_PPPOE_MAKE_OPTS
= PLUGIN_DIR
=/usr
/lib
/pppd
/$(PPPD_VERSION
)
17 RP_PPPOE_CONF_OPTS
= --disable-debugging
19 rpppoe_cv_pack_bitfields
=normal \
20 PPPD_H
=$(PPPD_DIR
)/pppd
/pppd.h
22 define RP_PPPOE_INSTALL_TARGET_CMDS
23 $(INSTALL
) -D
-m
0644 $(@D
)/configs
/pppoe.conf \
24 $(TARGET_DIR
)/etc
/ppp
/pppoe.conf
25 for ff in
$(RP_PPPOE_TARGET_FILES
); do \
26 $(INSTALL
) -m
0755 $(@D
)/src
/$$ff $(TARGET_DIR
)/usr
/sbin
/$$ff || exit
1; \
28 for ff in
$(RP_PPPOE_TARGET_SCRIPTS
); do \
29 $(INSTALL
) -m
0755 $(@D
)/scripts
/$$ff $(TARGET_DIR
)/usr
/sbin
/$$ff || exit
1; \
33 $(eval
$(autotools-package
))