| 
					
					
					
				 | 
				@ -1,7 +1,7 @@ | 
			
		
		
	
		
			
				 | 
				 | 
				#!/bin/bash | 
				 | 
				 | 
				#!/bin/bash | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				# Slackware build script for pytsk | 
				 | 
				 | 
				# Slackware build script for pytsk | 
			
		
		
	
		
			
				 | 
				 | 
				# Copyright 2014-2019  Barry Grundy <bgrundy[at]linuxleo.com> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				# Copyright 2014-2021  Barry Grundy <bgrundy[at]linuxleo.com> | 
			
		
		
	
		
			
				 | 
				 | 
				# All rights reserved. | 
				 | 
				 | 
				# All rights reserved. | 
			
		
		
	
		
			
				 | 
				 | 
				# | 
				 | 
				 | 
				# | 
			
		
		
	
		
			
				 | 
				 | 
				# Redistribution and use of this script, with or without modification, is | 
				 | 
				 | 
				# Redistribution and use of this script, with or without modification, is | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -21,12 +21,12 @@ | 
			
		
		
	
		
			
				 | 
				 | 
				# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | 
				 | 
				 | 
				# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | 
			
		
		
	
		
			
				 | 
				 | 
				# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 
				 | 
				 | 
				# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 
			
		
		
	
		
			
				 | 
				 | 
				# | 
				 | 
				 | 
				# | 
			
		
		
	
		
			
				 | 
				 | 
				# Updated v20190121 March 2019 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				# Updated v20210801 August 2021 | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				cd $(dirname $0) ; CWD=$(pwd) | 
				 | 
				 | 
				cd $(dirname $0) ; CWD=$(pwd) | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				PRGNAM=pytsk | 
				 | 
				 | 
				PRGNAM=pytsk | 
			
		
		
	
		
			
				 | 
				 | 
				VERSION=${VERSION:-20190121} | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				VERSION=${VERSION:-20210801} | 
			
		
		
	
		
			
				 | 
				 | 
				BUILD=${BUILD:-1} | 
				 | 
				 | 
				BUILD=${BUILD:-1} | 
			
		
		
	
		
			
				 | 
				 | 
				TAG=${TAG:-_SBo} | 
				 | 
				 | 
				TAG=${TAG:-_SBo} | 
			
		
		
	
		
			
				 | 
				 | 
				PKGTYPE=${PKGTYPE:-tgz} | 
				 | 
				 | 
				PKGTYPE=${PKGTYPE:-tgz} | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -82,7 +82,7 @@ find -L . \ | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				export CC="gcc $SLKCFLAGS $(pkg-config --cflags talloc)" | 
				 | 
				 | 
				export CC="gcc $SLKCFLAGS $(pkg-config --cflags talloc)" | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				python setup.py install --root=$PKG | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				python3 setup.py install --root=$PKG | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | 
				 | 
				 | 
				find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | 
			
		
		
	
		
			
				 | 
				 | 
				  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | 
				 | 
				 | 
				  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |