]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - ghostscript/ghostscript.nm
Merge remote-tracking branch 'stevee/updates'
[people/ms/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 = 1
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 lcms2-devel >= 2.4
41 libidn-devel
42 libjpeg-devel
43 libpng-devel
44 libtiff-devel
45 libtool
46 libxml2-devel
47 unzip
48 zlib-devel
49 end
50
51 prepare_cmds
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
60 end
61
62 CFLAGS += -fno-strict-aliasing
63
64 configure_options += \
65 --with-ijs \
66 --enable-dynamic \
67 --with-drivers=ALL \
68 --disable-compile-inits \
69 --with-system-libtiff \
70 --with-install-cups \
71 \
72 CFLAGS="%{CFLAGS}"
73
74 PARALLELISMFLAGS = # Disable this
75 end
76
77 packages
78 package %{name}
79
80 package %{name}-devel
81 template DEVEL
82 end
83
84 package %{name}-debuginfo
85 template DEBUGINFO
86 end
87 end