added fs info to metadata
This commit is contained in:
		
							parent
							
								
									8541658e8e
								
							
						
					
					
						commit
						cbbe7641e9
					
				
					 6 changed files with 167 additions and 0 deletions
				
			
		
							
								
								
									
										25
									
								
								pkgs/toybox/build.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								pkgs/toybox/build.sh
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,25 @@ | |||
| pkgver=0.8.4 | ||||
| pkgname=toybox | ||||
| pkgrel=1 | ||||
| 
 | ||||
| fetch() { | ||||
| 	curl "http://www.landley.net/toybox/downloads/$pkgname-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz | ||||
| 	tar -xf $pkgname-$pkgver.tar.gz | ||||
| } | ||||
| 
 | ||||
| build() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	make defconfig | ||||
| 	make | ||||
| } | ||||
| 
 | ||||
| package() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	install -d $pkgdir/bin | ||||
| 	install -Dm755 ./toybox $pkgdir/bin/ | ||||
| } | ||||
| 
 | ||||
| license() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	cat LICENSE | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue