ghostscript: build as shared library
so other progs can link against it. New foomatic-rip 4.0.0 is the first one doing so.
This commit is contained in:
parent
d8d24b5f27
commit
b3e998c6ca
@ -35,11 +35,19 @@ drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/pv.sh
|
||||
-rwxr-xr-x root/root usr/bin/unix-lpr.sh
|
||||
-rwxr-xr-x root/root usr/bin/wftopfa
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/ghostscript/
|
||||
-rw-r--r-- root/root usr/include/ghostscript/gdevdsp.h
|
||||
-rw-r--r-- root/root usr/include/ghostscript/iapi.h
|
||||
-rw-r--r-- root/root usr/include/ghostscript/ierrors.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/cups/
|
||||
drwxr-xr-x root/root usr/lib/cups/filter/
|
||||
-rwxr-xr-x root/root usr/lib/cups/filter/pstopxl
|
||||
-rwxr-xr-x root/root usr/lib/cups/filter/pstoraster
|
||||
lrwxrwxrwx root/root usr/lib/libgs.so -> libgs.so.8.63
|
||||
lrwxrwxrwx root/root usr/lib/libgs.so.8 -> libgs.so.8.63
|
||||
-rwxr-xr-x root/root usr/lib/libgs.so.8.63
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/dvipdf.1.gz
|
||||
|
@ -5,20 +5,24 @@
|
||||
|
||||
name=ghostscript
|
||||
version=8.63
|
||||
release=1
|
||||
release=2
|
||||
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2 \
|
||||
http://dl.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz)
|
||||
http://dl.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/man \
|
||||
--enable-cups \
|
||||
--disable-gtk \
|
||||
--with-drivers=ALL
|
||||
make -j1
|
||||
make DESTDIR=$PKG install
|
||||
make -j1 so
|
||||
make DESTDIR=$PKG install soinstall
|
||||
cp -r $SRC/fonts $PKG/usr/share/ghostscript
|
||||
|
||||
mv $PKG/usr/bin/gsc $PKG/usr/bin/gs
|
||||
rm $PKG/usr/bin/gsx
|
||||
chown root:lp $PKG/etc/cups
|
||||
rm -r $PKG/usr/{share/ghostscript/$version/{examples,doc},man/de}
|
||||
rm $PKG/usr/share/ghostscript/fonts/[CRT]*
|
||||
|
Loading…
Reference in New Issue
Block a user