3 include $(TOPDIR
)/rules.mk
7 PKG_UPSTREAM_VERSION
:=0.70-pre20031121
9 PKG_MD5SUM
:=3f2707b6e16a8cb72e7bf64f574202fa
11 PKG_SOURCE_URL
:=http
://ftp.debian.org
/debian
/pool
/main
/l
/l2tpd
12 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_UPSTREAM_VERSION
).orig.
tar.gz
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_UPSTREAM_VERSION
).orig
16 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
18 include $(TOPDIR
)/package
/rules.mk
20 $(eval
$(call PKG_template
,L2TPD
,l2tpd
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
22 $(PKG_BUILD_DIR
)/.configured
:
25 $(PKG_BUILD_DIR
)/.built
:
26 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
27 $(TARGET_CONFIGURE_OPTS
) \
29 CFLAGS
="$(TARGET_CFLAGS) -I. -DLINUX -DSANITY -DIP_ALLOCATION"
33 install -d
-m0755
$(IDIR_L2TPD
)/usr
/sbin
34 install -m0755
$(PKG_BUILD_DIR
)/$(PKG_NAME
) $(IDIR_L2TPD
)/usr
/sbin
/
35 $(RSTRIP
) $(IDIR_L2TPD
)
36 $(IPKG_BUILD
) $(IDIR_L2TPD
) $(PACKAGE_DIR
)