Makefile 976 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #
  2. # Copyright (C) 2006-2008 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:=5
  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. URL:=http://pptpclient.sourceforge.net/
  21. DEPENDS:=+ppp +kmod-gre
  22. endef
  23. define Package/pptp/daemon
  24. This package contains a PPTP (Point-to-Point Tunneling Protocol) client.
  25. endef
  26. define Package/pptp/install
  27. $(INSTALL_DIR) $(1)/usr/sbin
  28. $(INSTALL_BIN) $(PKG_BUILD_DIR)/pptp $(1)/usr/sbin/
  29. $(INSTALL_DIR) $(1)/etc/ppp
  30. $(INSTALL_DATA) ./files/options.pptp $(1)/etc/ppp/
  31. $(INSTALL_DIR) $(1)/lib/network
  32. $(INSTALL_BIN) ./files/pptp.sh $(1)/lib/network/
  33. endef
  34. $(eval $(call BuildPackage,pptp))