gpe-package_0.4.bb: fix build problems introduced in previous commit.
authorGraham Gower <graham.gower@gmail.com>
Wed, 1 Sep 2010 14:16:01 +0000 (14:16 +0000)
committerKhem Raj <raj.khem@gmail.com>
Thu, 2 Sep 2010 02:23:45 +0000 (19:23 -0700)
gpe-package really depends on libipkg, not IPKG_VARIANT. It will not build
against a recent opkg.

Also, SRC_URI+=foo must be after inherit gpe or gpe.bbclass overwrites it.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/gpe-package/gpe-package_0.4.bb

index 884143d..1188843 100644 (file)
@@ -3,18 +3,17 @@ SECTION = "gpe"
 PRIORITY = "optional"
 LICENSE = "GPLv2+"
 
-IPKG_VARIANT ?= "opkg"
-DEPENDS = "${IPKG_VARIANT} libpcre libgpewidget"
+DEPENDS = "libipkg libpcre libgpewidget"
 
-PR = "r2"
+PR = "r3"
+
+inherit gpe pkgconfig
 
 SRC_URI += " file://sbin-and-no-suid-install.patch \
                 file://gpe-package"
 SRC_URI[md5sum] = "f131eed187483620916b7e624b9e3367"
 SRC_URI[sha256sum] = "a1fbdb1e8357b0b2362df9ee457c90dcaafbe7a11723117cb0cbee1ea0f6315c"
 
-inherit gpe pkgconfig
-
 CFLAGS += "-DENABLE_PCRE"
 LDFLAGS += "-lpcre"