| 
									
										
										
										
											2017-10-27 21:46:27 +03:00
										 |  |  |  | # Tanım: PostScript dili için bir yorumlayıcı | 
					
						
							| 
									
										
										
										
											2016-02-24 02:27:23 +02:00
										 |  |  |  | # URL: http://www.ghostscript.com/awki | 
					
						
							| 
									
										
										
										
											2017-10-27 21:46:27 +03:00
										 |  |  |  | # Paketçi: milisarge | 
					
						
							|  |  |  |  | # Gerekler: glib atk libpng libjpeg-turbo libtiff jasper lcms2 gnutls cups | 
					
						
							| 
									
										
										
										
											2016-02-24 02:27:23 +02:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-10-28 15:10:23 +03:00
										 |  |  |  | isim=ghostscript | 
					
						
							|  |  |  |  | surum=9.18 | 
					
						
							|  |  |  |  | devir=1 | 
					
						
							|  |  |  |  | kaynak=( http://repository.timesys.com/buildsources/g/ghostscript/ghostscript-9.18/ghostscript-9.18.tar.gz | 
					
						
							| 
									
										
										
										
											2016-02-24 02:27:23 +02:00
										 |  |  |  |          http://ghostscript.googlecode.com/files/ghostscript-fonts-std-8.11.tar.gz | 
					
						
							|  |  |  |  |          http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz ) | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-10-28 00:59:41 +03:00
										 |  |  |  | derle() { | 
					
						
							| 
									
										
										
										
											2017-10-28 15:10:23 +03:00
										 |  |  |  | cd $isim-$surum | 
					
						
							| 
									
										
										
										
											2017-01-31 03:37:09 +03:00
										 |  |  |  | sed -i 's/ZLIBDIR=src/ZLIBDIR=$includedir/' configure.ac configure | 
					
						
							| 
									
										
										
										
											2016-02-24 02:27:23 +02:00
										 |  |  |  | rm -rf freetype lcms2 jpeg libpng zlib | 
					
						
							|  |  |  |  | ./configure --prefix=/usr \ | 
					
						
							|  |  |  |  | 	--enable-dynamic \ | 
					
						
							|  |  |  |  | 	--with-system-libtiff \ | 
					
						
							|  |  |  |  | 	--disable-compile-inits | 
					
						
							|  |  |  |  | make | 
					
						
							|  |  |  |  | make so | 
					
						
							|  |  |  |  | make DESTDIR=$PKG install soinstall | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | mkdir -p $PKG/usr/include/ghostscript | 
					
						
							| 
									
										
										
										
											2017-10-28 15:10:23 +03:00
										 |  |  |  | mkdir -p $PKG/usr/share/doc/$isim-$surum | 
					
						
							| 
									
										
										
										
											2016-02-24 02:27:23 +02:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  | install -v -m644 base/*.h $PKG/usr/include/ghostscript | 
					
						
							|  |  |  |  | ln -v -s ghostscript $PKG/usr/include/ps | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-10-28 15:10:23 +03:00
										 |  |  |  | ln -sv ../ghostscript/$surum/doc \ | 
					
						
							|  |  |  |  | $PKG/usr/share/doc/$isim-$surum | 
					
						
							| 
									
										
										
										
											2016-02-24 02:27:23 +02:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  | cp -r $SRC/fonts $PKG/usr/share/ghostscript | 
					
						
							|  |  |  |  | } |