openssh: move to base
This commit is contained in:
		
							parent
							
								
									d84cf4da05
								
							
						
					
					
						commit
						6a03423232
					
				
					 1 changed files with 0 additions and 0 deletions
				
			
		
							
								
								
									
										28
									
								
								base/openssh/build.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								base/openssh/build.sh
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,28 @@ | |||
| pkgname=openssh | ||||
| pkgver=8.6p1 | ||||
| 
 | ||||
| fetch() { | ||||
| 	curl "https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz | ||||
| 	tar -xf $pkgname-$pkgver.tar.xz | ||||
| } | ||||
| 
 | ||||
| build() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	./configure \ | ||||
| 		--prefix=/usr \ | ||||
| 		--build=x86_64-unknown-linux-musl \ | ||||
| 		--host=x86_64-unknown-linux-musl \ | ||||
| 		--libexecdir=/usr/lib | ||||
| 
 | ||||
| 	make | ||||
| } | ||||
| 
 | ||||
| package() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	make install DESTDIR=$pkgdir | ||||
| } | ||||
| 
 | ||||
| license() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	cat LICENCE | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue