added sqlite
This commit is contained in:
		
							parent
							
								
									375ad77edb
								
							
						
					
					
						commit
						91b0d32e32
					
				
					 1 changed files with 29 additions and 0 deletions
				
			
		
							
								
								
									
										29
									
								
								pkgs/sqlite/build.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								pkgs/sqlite/build.sh
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,29 @@ | |||
| pkgname=sqlite | ||||
| pkgver=3350100 | ||||
| 
 | ||||
| fetch() { | ||||
| 	curl "https://sqlite.org/2021/sqlite-autoconf-3350100.tar.gz" -o $pkgname-$pkgver.tar.xz | ||||
| 	tar -xf $pkgname-$pkgver.tar.xz | ||||
| 	mv $pkgname-autoconf-$pkgver $pkgname-$pkgver | ||||
| } | ||||
| 
 | ||||
| build() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	./configure \ | ||||
| 		--prefix=/usr \ | ||||
| 		--build=x86_64-unknown-linux-musl \ | ||||
| 		--host=x86_64-unknown-linux-musl | ||||
| 
 | ||||
| 	make | ||||
| } | ||||
| 
 | ||||
| package() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	make install DESTDIR=$pkgdir | ||||
| } | ||||
| 
 | ||||
| license() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	cat LICENSE | ||||
| #	cat COPYING | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue