source: packages/net/openvpn-devel/Makefile @ 26894

Last change on this file since 26894 was 26894, checked in by swalker, 5 years ago

[packages] openvpn-devel: update to 201120 (#9341), thanks Stefan Hellermann, use CONFIGURE_{ARGS,VARS}, add copyright info

File size: 1.6 KB
Line 
1#
2# Copyright (C) 2010-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=openvpn-devel
11PKG_VERSION:=201120
12PKG_RELEASE:=1
13
14PKG_SOURCE:=openvpn-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=ftp://ftp.secure-computing.net/pub/FreeBSD/ports/openvpn-devel \
16        ftp://ftp2.secure-computing.net/pub/FreeBSD/ports/openvpn-devel
17PKG_MD5SUM:=58d219359d5e086cc7749f23428c0bb0
18
19PKG_INSTALL:=1
20PKG_BUILD_PARALLEL:=1
21PKG_BUILD_DIR:=$(BUILD_DIR)/openvpn-devel
22
23include $(INCLUDE_DIR)/package.mk
24
25define Package/openvpn-devel
26  SECTION:=net
27  CATEGORY:=Network
28  DEPENDS:=+kmod-tun +kmod-ipv6 +libopenssl +liblzo +ip
29  TITLE:=Open source VPN solution using SSL (devel version)
30  URL:=http://openvpn.net
31  SUBMENU:=VPN
32endef
33
34define Package/openvpn-devel/conffiles
35/etc/config/openvpn
36endef
37
38define Package/openvpn-devel/description
39         Open source VPN solution using SSL - DEVEL VERSION, Week $(PKG_VERSION)
40endef
41
42CONFIGURE_ARGS += \
43        --disable-debug \
44        --disable-plugins \
45        --enable-management \
46        --enable-small \
47        --disable-socks \
48        --enable-password-save \
49        --enable-iproute2 \
50        --with-iproute-path=/usr/sbin/ip
51
52CONFIGURE_VARS += \
53        ac_cv_func_epoll_create=no
54
55define Package/openvpn-devel/install
56        $(INSTALL_DIR) $(1)/usr/sbin
57        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/openvpn $(1)/usr/sbin/
58        $(INSTALL_DIR) $(1)/etc/init.d/
59        $(INSTALL_BIN) files/openvpn.init $(1)/etc/init.d/openvpn
60        $(INSTALL_DIR) $(1)/etc/config
61        $(INSTALL_CONF) files/openvpn.config $(1)/etc/config/openvpn
62        $(INSTALL_DIR) $(1)/etc/openvpn
63endef
64
65$(eval $(call BuildPackage,openvpn-devel))
Note: See TracBrowser for help on using the repository browser.