t1lib: if we stage the x11 header lets also build the corresponding library.
authorKoen Kooi <koen@openembedded.org>
Sun, 13 Jul 2008 14:24:20 +0000 (14:24 +0000)
committerKoen Kooi <koen@openembedded.org>
Sun, 13 Jul 2008 14:24:20 +0000 (14:24 +0000)
packages/t1lib/t1lib_5.0.2.bb

index 3934016..5da31f7 100644 (file)
@@ -1,7 +1,8 @@
 DESCRIPTION = "A Type1 Font Rastering Library"
 SECTION = "libs"
 PRIORITY = "optional"
-PR = "r3"
+DEPENDS = "virtual/libx11"
+PR = "r4"
 LICENSE = "LGPL GPL"
 SRC_URI = "${DEBIAN_MIRROR}/main/t/t1lib/t1lib_${PV}.orig.tar.gz \
            file://configure.patch;patch=1 \
@@ -10,7 +11,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/t/t1lib/t1lib_${PV}.orig.tar.gz \
 
 inherit autotools
 
-EXTRA_OECONF = "--without-x --without-athena"
+EXTRA_OECONF = "--with-x --without-athena"
 EXTRA_OEMAKE = "without_doc"
 
 do_configure() {
@@ -19,9 +20,7 @@ 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}/
+       autotools_stage_all
 }
 
 FILES_${PN} = "${bindir}/* ${libdir}/*.so* ${datadir}/t1lib/t1lib.config"