Makefile 928 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #
  2. # Copyright (C) 2006 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. # $Id$
  8. include $(TOPDIR)/rules.mk
  9. PKG_NAME:=pptp
  10. PKG_VERSION:=1.6.0
  11. PKG_RELEASE:=3
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=@SF/pptpclient
  14. PKG_MD5SUM:=9a706327fb9827541d7c86d48ceb9631
  15. include $(INCLUDE_DIR)/package.mk
  16. define Package/pptp
  17. SECTION:=net
  18. CATEGORY:=Network
  19. TITLE:=PPTP client
  20. DESCRIPTION:=\
  21. This package contains a PPTP (Point-to-Point Tunneling Protocol) client.
  22. URL:=http://pptpclient.sourceforge.net/
  23. endef
  24. define Package/pptp/install
  25. $(INSTALL_DIR) $(1)/usr/sbin
  26. $(INSTALL_BIN) $(PKG_BUILD_DIR)/pptp $(1)/usr/sbin/
  27. $(INSTALL_DIR) $(1)/etc/ppp
  28. $(INSTALL_DATA) ./files/options.pptp $(1)/etc/ppp/
  29. $(INSTALL_DIR) $(1)/lib/network
  30. $(INSTALL_BIN) ./files/pptp.sh $(1)/lib/network/
  31. endef
  32. $(eval $(call BuildPackage,pptp))