1 #############################################################
5 #############################################################
6 PPPD_SOURCE
:=ppp-2.4
.1.
tar.gz
7 PPPD_SITE
:=ftp
://ftp.samba.org
/pub
/ppp
8 PPPD_DIR
:=$(BUILD_DIR
)/ppp-2.4
.1
10 PPPD_BINARY
:=pppd
/pppd
11 PPPD_TARGET_BINARY
:=usr
/sbin
/pppd
14 $(DL_DIR
)/$(PPPD_SOURCE
):
15 $(WGET
) -P
$(DL_DIR
) $(PPPD_SITE
)/$(PPPD_SOURCE
)
17 pppd-source
: $(DL_DIR
)/$(PPPD_SOURCE
)
19 $(PPPD_DIR
)/.unpacked
: $(DL_DIR
)/$(PPPD_SOURCE
)
20 $(PPPD_CAT
) $(DL_DIR
)/$(PPPD_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
21 $(SED
) 's/ -DIPX_CHANGE -DHAVE_MULTILINK -DHAVE_MMAP//' $(PPPD_DIR
)/pppd
/Makefile.linux
22 $(SED
) 's/$(INSTALL) -s/$(INSTALL)/' $(PPPD_DIR
)/*/Makefile.linux
23 $(SED
) 's/ -o root//' $(PPPD_DIR
)/*/Makefile.linux
24 $(SED
) 's/ -g daemon//' $(PPPD_DIR
)/*/Makefile.linux
25 touch
$(PPPD_DIR
)/.unpacked
27 $(PPPD_DIR
)/.configured
: $(PPPD_DIR
)/.unpacked
28 (cd
$(PPPD_DIR
); rm -rf config.cache
; \
29 $(TARGET_CONFIGURE_OPTS
) \
31 --target
=$(GNU_TARGET_NAME
) \
32 --host
=$(GNU_TARGET_NAME
) \
33 --build
=$(GNU_HOST_NAME
) \
38 --libexecdir
=/usr
/lib \
40 --datadir=/usr
/share \
41 --localstatedir
=/var \
46 touch
$(PPPD_DIR
)/.configured
48 $(PPPD_DIR
)/$(PPPD_BINARY
): $(PPPD_DIR
)/.configured
49 $(MAKE
) CC
=$(TARGET_CC
) -C
$(PPPD_DIR
)
51 $(TARGET_DIR
)/$(PPPD_TARGET_BINARY
): $(PPPD_DIR
)/$(PPPD_BINARY
)
52 $(MAKE
) DESTDIR
=$(TARGET_DIR
) CC
=$(TARGET_CC
) -C
$(PPPD_DIR
) install
53 rm -rf
$(TARGET_DIR
)/share
/locale
$(TARGET_DIR
)/usr
/info \
54 $(TARGET_DIR
)/usr
/man
$(TARGET_DIR
)/usr
/share
/doc
56 pppd
: uclibc
$(TARGET_DIR
)/$(PPPD_TARGET_BINARY
)
59 rm -f
$(TARGET_DIR
)/usr
/sbin
/pppd
60 rm -f
$(TARGET_DIR
)/usr
/sbin
/chat
61 rm -rf
$(TARGET_DIR
)/etc
/ppp
62 $(MAKE
) DESTDIR
=$(TARGET_DIR
) CC
=$(TARGET_CC
) -C
$(PPPD_DIR
) uninstall
63 -$(MAKE
) -C
$(PPPD_DIR
) clean
This page took 0.043543 seconds and 5 git commands to generate.