]> git.ipfire.org Git - ipfire-3.x.git/blob - ghostscript/ghostscript.nm
clamav: Update to 0.101.4
[ipfire-3.x.git] / ghostscript / ghostscript.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = ghostscript
7 version = 9.14
8 release = 2
9
10 groups = Applications/Printing
11 url = http://ghostscript.com
12 license = GPL
13 summary = An interpreter for the PostScript language and for PDF.
14
15 description
16 Ghostscript is a package of software that provides an interpreter
17 for the PostScript (TM) language, with the ability to convert PostScript
18 language files to many raster formats, view them on displays, and print
19 them on printers that don't have PostScript language capability built in.
20 It also contains an interpreter for Portable Document Format (PDF) files,
21 with the same abilities and has the ability to convert PostScript
22 language files to PDF (with some limitations) and vice versa.
23 A set of C procedures (the Ghostscript library) implements the
24 graphics and filtering (data compression / decompression / conversion)
25 capabilities that appear as primitive operations in the PostScript
26 language and in PDF.
27 end
28
29 source_dl = http://downloads.ghostscript.com/public/
30
31 build
32 requires
33 autoconf
34 automake
35 cups-devel >= 1.1.13
36 dbus-devel
37 expat-devel
38 freetype-devel
39 glib2-devel
40 gnutls-devel
41 lcms2-devel >= 2.4
42 libidn-devel
43 libjpeg-devel
44 libpng-devel
45 libtiff-devel
46 libtool
47 libxml2-devel
48 unzip
49 zlib-devel
50 end
51
52 prepare_cmds
53 # Fix build with local zlib.
54 sed -i 's/ZLIBDIR=src/ZLIBDIR=$includedir/' configure.ac
55
56 # Remove shipped source code.
57 rm -rvf expat freetype icclib jasper jpeg jpegxr lcms lcms2 \
58 libpng openjpeg zlib cups/libs
59
60 autoconf --force
61 end
62
63 CFLAGS += -fno-strict-aliasing
64
65 configure_options += \
66 --with-ijs \
67 --enable-dynamic \
68 --with-drivers=ALL \
69 --disable-compile-inits \
70 --with-system-libtiff \
71 --with-install-cups \
72 \
73 CFLAGS="%{CFLAGS}"
74
75 PARALLELISMFLAGS = # Disable this
76 end
77
78 packages
79 package %{name}
80
81 package %{name}-devel
82 template DEVEL
83 end
84
85 package %{name}-debuginfo
86 template DEBUGINFO
87 end
88 end