28 lines
		
	
	
		
			434 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			434 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
version=\
 | 
						|
(
 | 
						|
    '1.0'
 | 
						|
)
 | 
						|
 | 
						|
maintainer=\
 | 
						|
(
 | 
						|
    "Ricardo Martins <rasm@fe.up.pt>"
 | 
						|
)
 | 
						|
 | 
						|
requires=\
 | 
						|
(
 | 
						|
    'python_host/host'
 | 
						|
    'dnsmasq/default'
 | 
						|
)
 | 
						|
 | 
						|
download()
 | 
						|
{
 | 
						|
    mkdir -p dnsmasq.d &&
 | 
						|
    python "$pkg_dir/download-peers.py" dnsmasq.d
 | 
						|
}
 | 
						|
 | 
						|
target_install()
 | 
						|
{
 | 
						|
    tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f - &&
 | 
						|
    tar -C dnsmasq.d --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs/etc" -x -v -f -
 | 
						|
}
 |