summaryrefslogtreecommitdiff
path: root/recipes/gpe-package
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-07-24 13:39:26 +0200
committerKoen Kooi <koen@openembedded.org>2010-07-24 13:40:52 +0200
commitec82ad4a6850d84c394c5db78d7f14eef652f1f0 (patch)
tree1bffec0f8cea6e04e93fc08af995e187df4a66de /recipes/gpe-package
parent9ed0681eb99434d0ad02d0e6ea666c94ea3f430e (diff)
gpe-package: switch to IPKG_VARIANT, clean up and fix license
Diffstat (limited to 'recipes/gpe-package')
-rw-r--r--recipes/gpe-package/gpe-package_0.4.bb26
1 files changed, 14 insertions, 12 deletions
diff --git a/recipes/gpe-package/gpe-package_0.4.bb b/recipes/gpe-package/gpe-package_0.4.bb
index 2ac9c250be..884143d8fb 100644
--- a/recipes/gpe-package/gpe-package_0.4.bb
+++ b/recipes/gpe-package/gpe-package_0.4.bb
@@ -1,25 +1,27 @@
-LICENSE = "GPL"
-PR = "r1"
-inherit gpe pkgconfig
-
DESCRIPTION = "A package manager GUI for GPE"
-DEPENDS = "ipkg libpcre libgpewidget"
-RDEPENDS_${PN} = "gpe-icons gpe-su"
SECTION = "gpe"
PRIORITY = "optional"
+LICENSE = "GPLv2+"
+
+IPKG_VARIANT ?= "opkg"
+DEPENDS = "${IPKG_VARIANT} libpcre libgpewidget"
+
+PR = "r2"
SRC_URI += " file://sbin-and-no-suid-install.patch \
- file://gpe-package"
+ file://gpe-package"
+SRC_URI[md5sum] = "f131eed187483620916b7e624b9e3367"
+SRC_URI[sha256sum] = "a1fbdb1e8357b0b2362df9ee457c90dcaafbe7a11723117cb0cbee1ea0f6315c"
-FILES_${PN} += " /usr/bin/gpe-package"
+inherit gpe pkgconfig
CFLAGS += "-DENABLE_PCRE"
LDFLAGS += "-lpcre"
do_install_append() {
- install -d ${D}${bindir}
- install -m 0755 ${WORKDIR}/gpe-package ${D}${bindir}
+ install -d ${D}${bindir}
+ install -m 0755 ${WORKDIR}/gpe-package ${D}${bindir}
}
-SRC_URI[md5sum] = "f131eed187483620916b7e624b9e3367"
-SRC_URI[sha256sum] = "a1fbdb1e8357b0b2362df9ee457c90dcaafbe7a11723117cb0cbee1ea0f6315c"
+RDEPENDS_${PN} = "gpe-icons gpe-su"
+FILES_${PN} += " /usr/bin/gpe-package"