2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/l2tpns
17 PKG_MD5SUM
:=2a0ee2a3678160c335f1d68c17c4f871
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
23 include $(INCLUDE_DIR
)/package.mk
29 TITLE
:=An L2TP enhanced server
31 l2tpns is a layer
2 tunneling protocol network server
(LNS
).
\\\
32 it supports up to
65535 concurrent sessions per server
/cluster
\\\
33 plus ISP features such
as rate limiting
, walled garden
, usage
\\\
35 URL
:=http
://sourceforge.net
/projects
/l2tpns
38 define Package
/l2tpns
/conffiles
40 /etc
/l2tpns
/startup-config
45 $(call Build
/Compile
/Default
, \
47 OPTIM
="$(TARGET_CFLAGS)" \
48 STAGING_DIR
="$(STAGING_DIR)" \
49 DESTDIR
="$(PKG_INSTALL_DIR)" \
54 define Package
/l2tpns
/install
55 $(INSTALL_DIR
) $(1)/etc
/l2tpns
56 $(CP
) $(PKG_INSTALL_DIR
)/etc
/l2tpns
/* $(1)/etc
/l2tpns
/
57 $(INSTALL_DIR
) $(1)/usr
/lib
/l2tpns
58 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/l2tpns
/* $(1)/usr
/lib
/l2tpns
/
59 $(INSTALL_DIR
) $(1)/usr
/sbin
60 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/* $(1)/usr
/sbin
/
63 $(eval
$(call BuildPackage
,l2tpns
))