]> pilppa.com Git - familiar-h63xx-build.git/commitdiff
gpe-package: export PATH in wrapper script. fix metadata (dependencies, hardcoded...
authorRene Wagner <rw@handhelds.org>
Sat, 27 May 2006 13:58:00 +0000 (15:58 +0200)
committerRene Wagner <rw@handhelds.org>
Sat, 27 May 2006 13:58:00 +0000 (15:58 +0200)
Signed-off-by: Rene Wagner <rw@handhelds.org>
org.handhelds.familiar/packages/gpe-package/files/gpe-package
org.handhelds.familiar/packages/gpe-package/gpe-package_0.3.bb

index 2555dfb975b3082b87486ec7c1a43db06686a02c..16af3ec737af0e776e1905e3ed045bbc6ec0bef5 100644 (file)
@@ -1,2 +1,5 @@
 #!/bin/sh
-exec /usr/bin/gpe-su -c /usr/sbin/gpe-package
+
+export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
+
+exec gpe-su -c /usr/sbin/gpe-package
index 55cc4ef2a82a4e1b33945f799e62cd65e363c898..9310147516605f87c012301287d2eeb3bbeb8526 100644 (file)
@@ -1,19 +1,17 @@
 LICENSE = "GPL"
-PR = "r2"
+PR = "r3"
 inherit gpe pkgconfig
 
 DESCRIPTION = "A package manager GUI for GPE"
-DEPENDS = "ipkg libgpewidget gpe-su"
-RDEPENDS = "gpe-icons"
+DEPENDS = "ipkg libgpewidget"
+RDEPENDS = "gpe-icons gpe-su"
 SECTION = "gpe"
 PRIORITY = "optional"
 
 SRC_URI += " file://sbin-and-no-suid-install.patch;patch=1 \
             file://gpe-package"
 
-FILES_${PN} += " /usr/bin/gpe-package"
-
 do_install_append() {
-       install -d ${D}/usr/bin
-       install -m 0755 ${WORKDIR}/gpe-package ${D}/usr/bin
+       install -d ${D}${bindir}
+       install -m 0755 ${WORKDIR}/gpe-package ${D}${bindir}
 }