busybox: enable mkfs.vfat
[openembedded.git] / recipes / ppp-dsl / ppp-dsl_0.1.bb
1 SECTION = "console/network"
2 DESCRIPTION = "Enables PPP dial-in through a DSL connection"
3 LICENSE = "PD"
4 DEPENDS = "ppp rp-pppoe"
5 RDEPENDS = "ppp rp-pppoe"
6 RRECOMMENDS = "kernel-module-ppp-async kernel-module-ppp-generic kernel-module-slhc"
7 PR = "r5"
8
9 SRC_URI = "file://dsl-provider \
10         file://ppp_on_boot.dsl"
11
12 do_install() {
13         install -d ${D}${sysconfdir}/ppp/peers
14         install -m 0644 ${WORKDIR}/dsl-provider ${D}${sysconfdir}/ppp/peers/
15         install -m 0755 ${WORKDIR}/ppp_on_boot.dsl ${D}${sysconfdir}/ppp/
16 }
17
18 pkg_postinst() {
19 if test "x$D" != "x"; then
20         exit 1
21 else
22         if ! test -e ${sysconfdir}/ppp/ppp_on_boot; then
23                 ln -s ppp_on_boot.dsl ${sysconfdir}/ppp/ppp_on_boot
24         fi
25 fi
26 }
27
28 PACKAGE_ARCH = "all"
29
30 CONFFILES_${PN} = "${sysconfdir}/ppp/peers/dsl-provider"