Move out libnet 1.1.2.1 to libnet1, split up libnet like Debian does since every...
[openwrt/svn-archive/archive.git] / net / l2tpns / Makefile
index 2fc0dee23601debc221f0dcea1fa291e8112a2ec..323a6dce1053efcb697c204157d2259201669288 100644 (file)
@@ -27,9 +27,9 @@ define Package/l2tpns
   DEPENDS:=+libcli
   TITLE:=An L2TP enhanced server
   DESCRIPTION:=l2tpns is a layer 2 tunneling protocol network server (LNS).\\\
-it supports up to 65535 concurrent sessions per server/cluster\\\
-plus ISP features such as rate limiting, walled garden, usage\\\
-accounting, and more.\\\
+       it supports up to 65535 concurrent sessions per server/cluster\\\
+       plus ISP features such as rate limiting, walled garden, usage\\\
+       accounting, and more.\\\
   URL:=http://sourceforge.net/projects/l2tpns
 endef
 
@@ -40,13 +40,7 @@ define Package/l2tpns/conffiles
 endef
        
 define Build/Compile
-       $(MAKE) -C $(PKG_BUILD_DIR) \
-               CC=$(TARGET_CC) \
-               LD=$(TARGET_CC) \
-               OPTIM="$(TARGET_CFLAGS)" \
-               DESTDIR=$(PKG_INSTALL_DIR) \
-               STAGING_DIR=$(STAGING_DIR) \
-               all install
+  $(call Build/Compile/Default, LD="$(TARGET_CC)" OPTIM="$(TARGET_CFLAGS)" STAGING_DIR=$(STAGING_DIR) DESTDIR=$(PKG_INSTALL_DIR) all install)
 endef
 
 define Package/l2tpns/install