temporarily add gm4 for firefox whilst I workout om4 patches
This commit is contained in:
		
							parent
							
								
									517ce35a46
								
							
						
					
					
						commit
						6bd09efb05
					
				
					 1 changed files with 31 additions and 0 deletions
				
			
		
							
								
								
									
										31
									
								
								bad/gm4/build.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								bad/gm4/build.sh
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,31 @@ | ||||||
|  | pkgname=gm4 | ||||||
|  | pkgver=1.4.19 | ||||||
|  | 
 | ||||||
|  | fetch() { | ||||||
|  | 	curl "http://ftp.gnu.org/pub/gnu/m4/m4-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz | ||||||
|  | 	tar -xf $pkgname-$pkgver.tar.xz | ||||||
|  | 	mv m4-$pkgver gm4-$pkgver | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | build() { | ||||||
|  | 	cd $pkgname-$pkgver | ||||||
|  | 	./configure \ | ||||||
|  | 		--prefix=/usr \ | ||||||
|  | 		--build=$TRIPLE \ | ||||||
|  | 		--program-prefix=g \ | ||||||
|  | 		--host=$TRIPLE \ | ||||||
|  | 		--disable-nls | ||||||
|  | 
 | ||||||
|  | 	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