summaryrefslogtreecommitdiff
path: root/package/pptp/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/pptp/Makefile
Initial import
Diffstat (limited to 'package/pptp/Makefile')
-rw-r--r--package/pptp/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/pptp/Makefile b/package/pptp/Makefile
new file mode 100644
index 000000000..5c76fbba7
--- /dev/null
+++ b/package/pptp/Makefile
@@ -0,0 +1,30 @@
+# $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:= pptp
+PKG_VERSION:= 1.6.0
+PKG_RELEASE:= 3
+PKG_MD5SUM:= 9a706327fb9827541d7c86d48ceb9631
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=pptpclient/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,PPTP,pptp,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+BUILD_STYLE:= auto
+MAKE_FLAGS+= CC="${TARGET_CC}" \
+ CFLAGS="${TARGET_CFLAGS}"
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_PPTP}/sbin
+ ${INSTALL_DIR} ${IDIR_PPTP}/usr/sbin
+ ${INSTALL_DIR} ${IDIR_PPTP}/etc/ppp
+ ${INSTALL_BIN} ./files/ifup.pptp ${IDIR_PPTP}/sbin/ifup.pptp
+ ${INSTALL_DATA} ./files/options.pptp ${IDIR_PPTP}/etc/ppp/
+ ${INSTALL_BIN} ${WRKBUILD}/pptp ${IDIR_PPTP}/usr/sbin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk