cups14: Drop legacy bits, correct libusb dep
authorTom Rini <tom_rini@mentor.com>
Fri, 15 Oct 2010 19:57:27 +0000 (12:57 -0700)
committerTom Rini <tom_rini@mentor.com>
Fri, 15 Oct 2010 19:57:27 +0000 (12:57 -0700)
We don't need do_stage for target stuff, drop.  We don't need
name=foo on SRC_URIs in this case, drop.  We want virtual/libusb0
for a dep here.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/cups/cups14.inc
recipes/cups/cups_1.4.3.bb
recipes/cups/cups_1.4.4.bb

index 5ae6f20..0828187 100644 (file)
@@ -4,8 +4,7 @@ LICENSE = "GPL LGPL"
 DEPENDS = "gnutls libpng jpeg dbus dbus-glib zlib fakeroot-native"
 PROVIDES = "cups14"
 
-SRC_URI = "ftp://ftp.easysw.com/pub/cups/${PV}/cups-${PV}-source.tar.bz2;name=archive \
-                 "
+SRC_URI = "ftp://ftp.easysw.com/pub/cups/${PV}/cups-${PV}-source.tar.bz2"
 
 LEAD_SONAME = "libcupsdriver.so"
 
@@ -56,14 +55,6 @@ fakeroot do_install () {
    chmod 0711 "${D}/${localstatedir}/run/cups/certs"
 }
 
-do_stage () {
-       install -d ${STAGING_INCDIR}/cups
-       install ${S}/cups/*.h ${STAGING_INCDIR}/cups/
-       install ${S}/filter/*.h ${STAGING_INCDIR}/cups/
-       oe_libinstall -C cups -so libcups ${STAGING_LIBDIR}
-       oe_libinstall -C filter -so libcupsimage ${STAGING_LIBDIR}
-}
-
 python do_package_append() {
        # Change permissions back the way they were, they probably had a reason...
        workdir = bb.data.getVar('WORKDIR', d, 1)
@@ -90,4 +81,3 @@ FILES_${PN} += "${datadir}/doc/cups/images \
                ${datadir}/doc/cups/*.css \
                 ${datadir}/icons/ \
               "
-
index 5cc0518..f562725 100644 (file)
@@ -5,8 +5,8 @@ SRC_URI += "file://use_echo_only_in_init.patch \
                    file://configure.patch \
                        "
 
-SRC_URI[archive.md5sum] = "e70b1c3f60143d7310c1d74c111a21ab"
-SRC_URI[archive.sha256sum] = "47a559b1c50192b94479ae7dab132ea0008727045d4993501cf0a6df0c64db97"
+SRC_URI[md5sum] = "e70b1c3f60143d7310c1d74c111a21ab"
+SRC_URI[sha256sum] = "47a559b1c50192b94479ae7dab132ea0008727045d4993501cf0a6df0c64db97"
 
 PR = "r3"
 
index 7813dbf..bf23cc5 100644 (file)
@@ -6,12 +6,12 @@ SRC_URI += " \
        file://configure.patch \
        "
 
-SRC_URI[archive.md5sum] = "8776403ad60fea9e85eab9c04d88560d"
-SRC_URI[archive.sha256sum] = "d25ffa35add3abeeec0eba60be2cffc89425b649c64ef3a73dfc724683a59aa3"
+SRC_URI[md5sum] = "8776403ad60fea9e85eab9c04d88560d"
+SRC_URI[sha256sum] = "d25ffa35add3abeeec0eba60be2cffc89425b649c64ef3a73dfc724683a59aa3"
 
-PR = "r1"
+PR = "r2"
 
 DEFAULT_PREFERENCE = "-1"
-DEPENDS += " libusb "
+DEPENDS += "virtual/libusb0"
 EXTRA_OECONF += " --disable-gssapi --disable-largefile --enable-debug --disable-relro --enable-libusb"
 CONFFILES_${PN} += "${sysconfdir}/cups/cupsd.conf"