libtiff/tiff_3.7.2.bb : change to use oe_libinstall helper based on work
authorGraeme Gregory <dp@xora.org.uk>
Sat, 22 Sep 2007 16:16:51 +0000 (16:16 +0000)
committerGraeme Gregory <dp@xora.org.uk>
Sat, 22 Sep 2007 16:16:51 +0000 (16:16 +0000)
of Zero_Chaos

packages/libtiff/tiff_3.7.2.bb

index 23110b6..d989745 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "This software provides support for the Tag Image File Format (TIF
 LICENSE = ""
 HOMEPAGE = "http://www.remotesensing.org/libtiff/"
 DEPENDS = "zlib jpeg"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://dl.maptools.org/dl/libtiff/old/tiff-${PV}.tar.gz"
 
@@ -11,8 +11,9 @@ inherit autotools
 do_stage() {
        autotools_stage_includes
        install -d ${STAGING_LIBDIR}
-       install -m 755 libtiff/.libs/libtiff.so.3.7.2 ${STAGING_LIBDIR}/libtiff.so
-       install -m 755 ./libtiff/.libs/libtiffxx.so.3.7.2 ${STAGING_LIBDIR}/libtiffxx.so
+       oe_libinstall -C libtiff -a -so libtiff ${STAGING_LIBDIR}
+       oe_libinstall -C libtiff -a -so libtiffxx ${STAGING_LIBDIR}
+
 }
 
 PACKAGES =+ "tiffxx tiffxx-dbg tiffxx-dev tiff-utils tiff-utils-dbg"