mirror of
				https://github.com/vyos/vyos-build.git
				synced 2025-10-01 20:28:40 +02:00 
			
		
		
		
	Add build scripts for .deb packages without Jenkins. To exclude Jenkins we need some place where we can put new builds-scripts to run in parallel (old/new) during meantime We will deprecate old Jenkins package builds in the future.
		
			
				
	
	
		
			24 lines
		
	
	
		
			798 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			798 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
[[packages]]
 | 
						|
name = "radvd"
 | 
						|
commit_id = "f2de4764559"
 | 
						|
scm_url = "https://github.com/radvd-project/radvd"
 | 
						|
 | 
						|
#build_cmd = "cd ..; ./build.sh"
 | 
						|
build_cmd = """
 | 
						|
./autogen.sh
 | 
						|
./configure
 | 
						|
make
 | 
						|
 | 
						|
install --directory debian/lib/systemd/system debian/usr/sbin
 | 
						|
install --mode 0644 radvd.service debian/lib/systemd/system
 | 
						|
install --strip --mode 0755 radvd debian/usr/sbin
 | 
						|
 | 
						|
# Version' field value 'v0.14-20-g613277f': version number does not start with digit
 | 
						|
# "cut" first character from version string
 | 
						|
fpm --input-type dir --output-type deb --name radvd \
 | 
						|
    --version $(git describe --always | cut -c2- | tr _ -) --deb-compression gz \
 | 
						|
    --maintainer "VyOS Package Maintainers <maintainers@vyos.net>" \
 | 
						|
    --description "RADVD router advertisement daemon" \
 | 
						|
    --license "RADVD" -C debian --package ..
 | 
						|
"""
 |