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:
@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=ptunnel
|
||||
PKG_VERSION:=0.61
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=b45f73875f2af48f101816672f83a5fe
|
||||
|
||||
PKG_SOURCE_URL:=http://www.cti.ecp.fr/~beauxir5/ptunnel/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.cti.ecp.fr/~beauxir5/ptunnel/
|
||||
PKG_MD5SUM:=b45f73875f2af48f101816672f83a5fe
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
@ -27,32 +27,20 @@ define Package/ptunnel
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+libpthread +libpcap
|
||||
TITLE:=Tunnel TCP connections over ICMP packets
|
||||
DESCRIPTION:=ptunnel is an application that allows you to reliably tunnel TCP connections to\\\
|
||||
a remote host using ICMP echo request and reply packets, commonly known as ping\\\
|
||||
requests and replies. It acts as a proxy and can handle sockets and secured\\\
|
||||
identification.\\\
|
||||
DESCRIPTION:=\
|
||||
ptunnel is an application that allows you to reliably tunnel TCP connections to \\\
|
||||
a remote host using ICMP echo request and reply packets, commonly known as ping \\\
|
||||
requests and replies. It acts as a proxy and can handle sockets and secured \\\
|
||||
identification.
|
||||
URL:=http://www.cs.uit.no/~daniels/PingTunnel/
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default,--enable-shared \
|
||||
--disable-static \
|
||||
--with-gnu-ld, \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
BUILD_CC="$(TARGET_CC)" \
|
||||
HOSTCC="$(HOSTCC)" \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
||||
td_cv_buggygetaddrinfo="no" \
|
||||
)
|
||||
endef
|
||||
# uses GNU configure
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default, \
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
all install \
|
||||
)
|
||||
all install
|
||||
endef
|
||||
|
||||
define Package/ptunnel/install
|
||||
|
Reference in New Issue
Block a user