blob: ba03f00184d7af94b7e5533e95fce4c3f301c7b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
DESCRIPTION = "ESP Ghostscript is an up-to-date GNU Ghostscript distribution \
including bug fixes, new drivers, and additional support for CUPS."
HOMEPAGE = "http://www.cups.org/espgs/"
SECTION = "libs"
DEPENDS = "jpeg zlib libpng tiff fontconfig"
LICENSE = "GPL"
PR = "r1"
SRC_URI = "http://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/ghostscript/${PV}/espgs-${PV}-source.tar.bz2"
PARALLEL_MAKE = ""
inherit autotools
EXTRA_OECONF = "--with-drivers=ALL \
--enable-cups \
--without-ijs \
--disable-gtk \
--without-gimp-print \
--without-x \
--without-omni"
do_compile() {
oe_runmake CCAUX="${BUILD_CC}"
}
do_install () {
oe_runmake 'prefix=${D}${prefix}' \
'bindir=${D}${bindir}' \
'datadir=${D}${datadir}' \
'cups_datadir=${D}${datadir}/cups' \
'cups_serverroot=${D}${sysconfdir}/cups' \
'cups_serverbin= ${D}${libdir}/cups' \
'CUPSSERVER=${cups_serverbin}' \
'CUPSCONFIG=${cups_serverroot}' \
'CUPSDATA=${cups_datadir}' \
'sysconfdir=${D}${sysconfdir}' \
'gsdir=${D}${datadir}/ghostscript' \
'gsdatadir=${D}${datadir}/ghostscript/8.15' \
'mandir=${D}${mandir}' \
'docdir=${D}${datadir}/doc/espgs/' install
}
PACKAGES += "espgs-examples espgs-resources"
# I added the lib dir to the central package, since espgs complained of a missing file when run.
# If I find exactly which files are needed for operation, I'll just add those, and split the package.
FILES_${PN} += "${datadir}/ghostscript/8.15/lib/* \
${libdir}/cups/filter/* \
${datadir}/cups/model/* \"
FILES_${PN}-doc += "${datadir}/ghostscript/8.15/doc/*"
FILES_${PN}-examples += "${datadir}/ghostscript/8.15/examples/*"
FILES_${PN}-resources += "${datadir}/ghostscript/8.15/Resource/*"
SRC_URI[md5sum] = "4ec87a3da20c1b433ffbe0ffe3675fcd"
SRC_URI[sha256sum] = "c1f5eefc058b08113f90bc583436399d71644b61872fa39ab4982a58a80baa62"
|