massive Makefile cleanup, add missing 'svn:keywords' property

git-svn-id: svn://svn.openwrt.org/openwrt/packages@5348 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico
2006-10-30 13:51:50 +00:00
parent d6c03f5259
commit 5cb332fb35
139 changed files with 1341 additions and 1322 deletions

View File

@ -4,17 +4,17 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: $
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=openvpn
PKG_VERSION:=2.0.9
PKG_RELEASE:=1
PKG_MD5SUM:=60745008b90b7dbe25fe8337c550fec6
PKG_SOURCE_URL:=http://openvpn.net/release @SF/openvpn
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://openvpn.net/release @SF/openvpn
PKG_MD5SUM:=60745008b90b7dbe25fe8337c550fec6
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -22,15 +22,6 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
PKG_CONFIGURE_OPTIONS := --enable-shared \
--disable-static \
--disable-pthread \
--disable-debug \
--disable-plugins \
--enable-management \
--disable-socks \
--enable-password-save \
define Package/openvpn
SECTION:=net
CATEGORY:=Network
@ -39,23 +30,29 @@ define Package/openvpn
DESCRIPTION:=\
Open source VPN solution using SSL
URL:=http://openvpn.net
MENU:=1
endef
define Package/openvpn-easy-rsa
$(call Package/openvpn)
DEPENDS:=openvpn +openssl-util
TITLE:=Simple shell scripts to manage a Certificate Authority
MENU:=0
endef
define Build/Configure
$(call Build/Configure/Default,$(PKG_CONFIGURE_OPTIONS))
$(call Build/Configure/Default, \
--disable-pthread \
--disable-debug \
--disable-plugins \
--enable-management \
--disable-socks \
--enable-password-save \
)
endef
define Build/Compile
$(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" \
install)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/openvpn/install
@ -64,8 +61,9 @@ define Package/openvpn/install
endef
define Package/openvpn-easy-rsa/install
install -d -m0755 $(1)/usr/sbin $(1)/etc/easy-rsa
$(CP) $(PKG_BUILD_DIR)/easy-rsa/2.0/{build-*,clean-all,inherit-inter,list-crl,pkitool,revoke-full,sign-req} $(1)/usr/sbin
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/easy-rsa/2.0/{build-*,clean-all,inherit-inter,list-crl,pkitool,revoke-full,sign-req} $(1)/usr/sbin/
install -d -m0755 $(1)/etc/easy-rsa
install -m 0644 $(PKG_BUILD_DIR)/easy-rsa/2.0/openssl.cnf $(1)/etc/easy-rsa/openssl.cnf
install -m 0644 $(PKG_BUILD_DIR)/easy-rsa/2.0/vars $(1)/etc/easy-rsa/vars
endef