]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - ghostscript/ghostscript.nm
dosfstools: Update to 3.0.26.
[people/ms/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
3a6979a1
SS
7version = 9.14
8release = 1
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
3a6979a1 40 lcms2-devel >= 2.4
f0fb7011 41 libidn-devel
5e9ab5dd 42 libjpeg-devel
f0fb7011 43 libpng-devel
5e9ab5dd
MT
44 libtiff-devel
45 libtool
46 libxml2-devel
47 unzip
48 zlib-devel
49 end
50
51 prepare_cmds
3a6979a1
SS
52 # Fix build with local zlib.
53 sed -i 's/ZLIBDIR=src/ZLIBDIR=$includedir/' configure.ac
54
55 # Remove shipped source code.
56 rm -rvf expat freetype icclib jasper jpeg jpegxr lcms lcms2 \
57 libpng openjpeg zlib cups/libs
58
59 autoconf --force
5e9ab5dd
MT
60 end
61
62 CFLAGS += -fno-strict-aliasing
63
802ea3af 64 configure_options += \
5e9ab5dd
MT
65 --with-ijs \
66 --enable-dynamic \
67 --with-drivers=ALL \
68 --disable-compile-inits \
69 --with-system-libtiff \
3a6979a1
SS
70 --with-install-cups \
71 \
72 CFLAGS="%{CFLAGS}"
32a01e65 73
802ea3af
MT
74 PARALLELISMFLAGS = # Disable this
75end
76
77packages
78 package %{name}
5e9ab5dd
MT
79
80 package %{name}-devel
81 template DEVEL
802ea3af 82 end
1f9bc2f0
MT
83
84 package %{name}-debuginfo
85 template DEBUGINFO
86 end
802ea3af 87end