Makefile 969 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=pptp
  9. PKG_VERSION:=1.6.0
  10. PKG_RELEASE:=6
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/pptpclient
  13. PKG_MD5SUM:=9a706327fb9827541d7c86d48ceb9631
  14. include $(INCLUDE_DIR)/package.mk
  15. define Package/pptp
  16. SECTION:=net
  17. CATEGORY:=Network
  18. TITLE:=PPTP client
  19. URL:=http://pptpclient.sourceforge.net/
  20. DEPENDS:=+ppp +kmod-gre
  21. endef
  22. define Package/pptp/daemon
  23. This package contains a PPTP (Point-to-Point Tunneling Protocol) client.
  24. endef
  25. define Package/pptp/install
  26. $(INSTALL_DIR) $(1)/usr/sbin
  27. $(INSTALL_BIN) $(PKG_BUILD_DIR)/pptp $(1)/usr/sbin/
  28. $(INSTALL_DIR) $(1)/etc/ppp
  29. $(INSTALL_DATA) ./files/options.pptp $(1)/etc/ppp/
  30. $(INSTALL_DIR) $(1)/lib/network
  31. $(INSTALL_BIN) ./files/pptp.sh $(1)/lib/network/
  32. endef
  33. $(eval $(call BuildPackage,pptp))