replace flex as default lex
This commit is contained in:
		
							parent
							
								
									6a03423232
								
							
						
					
					
						commit
						2b88699048
					
				
					 3 changed files with 0 additions and 1 deletions
				
			
		
							
								
								
									
										29
									
								
								old/reflex/build.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								old/reflex/build.sh
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,29 @@ | |||
| pkgname=reflex | ||||
| pkgver=20210510 | ||||
| 
 | ||||
| fetch() { | ||||
| 	curl "https://invisible-island.net/datafiles/release/reflex.tar.gz" -o $pkgname-$pkgver.tar.gz | ||||
| 	tar -xf $pkgname-$pkgver.tar.gz | ||||
| } | ||||
| 
 | ||||
| build() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	./configure \ | ||||
| 		--prefix=/usr \ | ||||
| 		--build=$TRIPLE \ | ||||
| 		--host=$TRIPLE | ||||
| 
 | ||||
| 	make | ||||
| } | ||||
| 
 | ||||
| package() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	make install DESTDIR=$pkgdir | ||||
| 
 | ||||
| 	ln -sr $pkgdir/usr/bin/reflex $pkgdir/usr/bin/lex | ||||
| } | ||||
| 
 | ||||
| license() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	cat COPYING | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue