From: jow Date: Fri, 17 Jun 2011 10:33:51 +0000 (+0000) Subject: [packages] transocks: fix unpack and build directory (#9571) X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=2114647e18b8f6ae54432e90b73d7c2e020bd82c;p=packages.git [packages] transocks: fix unpack and build directory (#9571) git-svn-id: svn://svn.openwrt.org/openwrt/packages@27200 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/transocks/Makefile b/net/transocks/Makefile index bdcc1c9a1..6e2cf14d4 100644 --- a/net/transocks/Makefile +++ b/net/transocks/Makefile @@ -17,10 +17,10 @@ PKG_SOURCE_SUBDIR:=transocks PKG_SOURCE_VERSION:=-DNOW PKG_SOURCE_PROTO:=cvs -PKG_BUILD_DIR:=transocks - include $(INCLUDE_DIR)/package.mk +PKG_UNPACK:=gzip -dc $(DL_DIR)/$(PKG_SOURCE) | $(TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xf - + define Build/Compile $(TARGET_CC) \ -I$(STAGING_DIR)/usr/include \