summaryrefslogtreecommitdiff
path: root/packages/t1lib/t1lib_5.0.2.bb
blob: 4e08d079c79a9264af28fbee21efea9b8e728d8e (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
DESCRIPTION = "A Type1 Font Rastering Library"
SECTION = "libs"
PRIORITY = "optional"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
PR = "r1"
LICENSE = "LGPL GPL"
SRC_URI = "ftp://sunsite.unc.edu/pub/Linux/libs/graphics/t1lib-${PV}.tar.gz \
           file://configure.patch;patch=1 \
           file://install.patch;patch=1 \
	   file://libtool.patch;patch=1"

inherit autotools

EXTRA_OECONF = "--without-x --without-athena"
EXTRA_OEMAKE = "without_doc"

do_configure() {
	rm -f ${S}/ac-tools/aclocal.m4
	autotools_do_configure
}

do_stage() {
	oe_libinstall -so -C lib libt1 ${STAGING_LIBDIR}
	install lib/t1lib/t1lib.h ${STAGING_INCDIR}/
	install lib/t1lib/t1libx.h ${STAGING_INCDIR}/
}

FILES_${PN} = "${bindir}/* {$libdir}* ${datadir}/t1lib/t1lib.config"
FILES_${PN}-doc = "${datadir}/t1lib/doc/t1lib_doc.pdf"