aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gs/gs-tools-native_8.64.bb
blob: ea5f5fad0e4e112fc816f90f26c4069fbcc467e9 (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
DESCRIPTION = "Tools needed for cross building Ghostscript"
LICENSE = "GPLv2"
HOMEPAGE = "http://www.gnu.org/software/ghostscript/ghostscript.html"
DEPENDS = "zlib-native fontconfig-native"

S = "${WORKDIR}/ghostscript-${PV}~dfsg"
SRC_URI = "${DEBIAN_MIRROR}/main/g/ghostscript/ghostscript_${PV}~dfsg.orig.tar.gz;name=tarball"

inherit autotools native

SRC_URI[tarball.md5sum] = "e42706c2409815df5c959484080fd4a3"
SRC_URI[tarball.sha256sum] = "cc856d33cb781cdc3383b8eb4e0f390997f8359fe144a906b84297b5d377f03d"

EXTRA_OECONF = "--without-x --without-jasper"

do_compile() {
        mkdir -p obj
        for i in genarch genconf mkromfs echogs gendev genht; do
                oe_runmake obj/$i
        done
}

NATIVE_INSTALL_WORKS = "1"

do_install () {
	install -d ${D}${bindir}/gs-tools-${PV}
        for i in genarch genconf mkromfs echogs gendev genht; do
		install -m 755 obj/$i ${D}${bindir}/gs-tools-${PV}/$i
	done
}