]> git.ipfire.org Git - ipfire-3.x.git/blame - ghostscript/ghostscript.nm
clamav: Update to 0.101.4
[ipfire-3.x.git] / ghostscript / ghostscript.nm
CommitLineData
32a01e65 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
32a01e65
SS
4###############################################################################
5
802ea3af 6name = ghostscript
53548774 7version = 9.14
2ae358a4 8release = 2
32a01e65 9
802ea3af
MT
10groups = Applications/Printing
11url = http://ghostscript.com
12license = GPL
13summary = An interpreter for the PostScript language and for PDF.
32a01e65 14
802ea3af 15description
5e9ab5dd
MT
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.
802ea3af 27end
32a01e65 28
5e9ab5dd 29source_dl = http://downloads.ghostscript.com/public/
32a01e65 30
802ea3af 31build
5e9ab5dd 32 requires
3a6979a1
SS
33 autoconf
34 automake
35 cups-devel >= 1.1.13
5e9ab5dd 36 dbus-devel
f0fb7011 37 expat-devel
3a6979a1 38 freetype-devel
5e9ab5dd 39 glib2-devel
2ae358a4 40 gnutls-devel
3a6979a1 41 lcms2-devel >= 2.4
f0fb7011 42 libidn-devel
5e9ab5dd 43 libjpeg-devel
f0fb7011 44 libpng-devel
5e9ab5dd
MT
45 libtiff-devel
46 libtool
47 libxml2-devel
48 unzip
49 zlib-devel
50 end
51
52 prepare_cmds
3a6979a1
SS
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
5e9ab5dd
MT
61 end
62
63 CFLAGS += -fno-strict-aliasing
64
802ea3af 65 configure_options += \
5e9ab5dd
MT
66 --with-ijs \
67 --enable-dynamic \
68 --with-drivers=ALL \
69 --disable-compile-inits \
70 --with-system-libtiff \
3a6979a1
SS
71 --with-install-cups \
72 \
73 CFLAGS="%{CFLAGS}"
32a01e65 74
802ea3af
MT
75 PARALLELISMFLAGS = # Disable this
76end
77
78packages
79 package %{name}
5e9ab5dd
MT
80
81 package %{name}-devel
82 template DEVEL
802ea3af 83 end
1f9bc2f0
MT
84
85 package %{name}-debuginfo
86 template DEBUGINFO
87 end
802ea3af 88end