36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
# Tanım: PostScript dili için bir yorumlayıcı
|
||
# URL: http://www.ghostscript.com/awki
|
||
# Paketçi: milisarge
|
||
# Gerekler: glib atk libpng libjpeg-turbo libtiff jasper lcms2 gnutls cups
|
||
|
||
isim=ghostscript
|
||
surum=9.18
|
||
devir=1
|
||
kaynak=( http://repository.timesys.com/buildsources/g/ghostscript/ghostscript-9.18/ghostscript-9.18.tar.gz
|
||
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 )
|
||
|
||
derle() {
|
||
cd $isim-$surum
|
||
sed -i 's/ZLIBDIR=src/ZLIBDIR=$includedir/' configure.ac configure
|
||
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
|
||
mkdir -p $PKG/usr/share/doc/$isim-$surum
|
||
|
||
install -v -m644 base/*.h $PKG/usr/include/ghostscript
|
||
ln -v -s ghostscript $PKG/usr/include/ps
|
||
|
||
ln -sv ../ghostscript/$surum/doc \
|
||
$PKG/usr/share/doc/$isim-$surum
|
||
|
||
cp -r $SRC/fonts $PKG/usr/share/ghostscript
|
||
}
|