summaryrefslogtreecommitdiff
path: root/package/l2tpns/Makefile
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/l2tpns/Makefile
Initial import
Diffstat (limited to 'package/l2tpns/Makefile')
-rw-r--r--package/l2tpns/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/l2tpns/Makefile b/package/l2tpns/Makefile
new file mode 100644
index 000000000..f78b3c421
--- /dev/null
+++ b/package/l2tpns/Makefile
@@ -0,0 +1,32 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= l2tpns
+PKG_VERSION:= 2.1.14
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 2a0ee2a3678160c335f1d68c17c4f871
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=l2tpns/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,L2TPNS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+BUILD_FLAGS= auto
+INSTALL_STYLE= auto
+XAKE_FLAGS+= OPTIM="${TARGET_CFLAGS}" \
+ STAGING_DIR=${STAGING_DIR} \
+ LD="${TARGET_CC}"
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_L2TPNS}/etc/l2tpns
+ ${CP} ${WRKINST}/etc/l2tpns/* ${IDIR_L2TPNS}/etc/l2tpns/
+ ${INSTALL_DIR} ${IDIR_L2TPNS}/usr/lib/l2tpns
+ ${CP} ${WRKINST}/usr/lib/l2tpns/* ${IDIR_L2TPNS}/usr/lib/l2tpns/
+ ${INSTALL_DIR} ${IDIR_L2TPNS}/usr/sbin
+ ${CP} ${WRKINST}/usr/sbin/* ${IDIR_L2TPNS}/usr/sbin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk