diff options
author | Matthias Hentges <oe@hentges.net> | 2005-01-23 11:30:26 +0000 |
---|---|---|
committer | Matthias Hentges <oe@hentges.net> | 2005-01-23 11:30:26 +0000 |
commit | 3eeb3cc8e42f90464cf5e7c87010fc016b6270af (patch) | |
tree | a22e5af165b608873ceef3896eb6ab8fa421d13e /packages | |
parent | 70915cc7596be9486f5f02a49ea260b47fd44b14 (diff) |
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into handhelds.org:/home/mhentges/OpenEmbedded/bitbake/openembedded
2005/01/23 12:30:05+01:00 handhelds.org!CoreDump
oz-compat: configure fix
BKrev: 41f38ad2HWQq7QbDNJlETgiCJDB0fQ
Diffstat (limited to 'packages')
-rw-r--r-- | packages/oz-compat/oz-compat_0.5.bb | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/packages/oz-compat/oz-compat_0.5.bb b/packages/oz-compat/oz-compat_0.5.bb index e69de29bb2..04cd0dac0b 100644 --- a/packages/oz-compat/oz-compat_0.5.bb +++ b/packages/oz-compat/oz-compat_0.5.bb @@ -0,0 +1,77 @@ +SECTION = "opie/settings" +DESCRIPTION = "Allows applications compiled with 2.95 to run on a 3.2 compiled \ +system by providing 2.95 libraries. To run compatible programs, use the Compat \ +Library program in the Settings menu to make them use these libraries." +PRIORITY = "optional" +RDEPENDS = "opie-sh" +MAINTAINER = "Tim Ansell <mithro AT mithis.net>" +LICENSE = "GPL" +PR = "r2" + +EXCLUDE_FROM_WORLD = "1" + +SRC_URI = "http://openzaurus.org/mirror/oz-compat_0.5.tar.gz \ + file://hentges.patch;patch=1" + +inherit update-rc.d + +INITSCRIPT_NAME = "quickexec" +INITSCRIPT_PARAMS = "defaults 10" + +do_install() { + install -d ${D}/opt/QtPalmtop/apps/Settings + install -d ${D}/opt/QtPalmtop/bin/ + install -d ${D}/opt/QtPalmtop/etc/ + install -d ${D}/opt/QtPalmtop/pics/ + + install -d ${D}/opt/QtPalmtop.compat/bin + install -d ${D}/opt/QtPalmtop.compat/binlib + install -d ${D}/opt/QtPalmtop.compat/lib + + install -d ${D}/etc/init.d + + install -m 0644 ${WORKDIR}/oz-compat-0.5/opt/QtPalmtop/apps/Settings/makecompat.desktop ${D}/opt/QtPalmtop/apps/Settings + install -m 0644 ${WORKDIR}/oz-compat-0.5/opt/QtPalmtop/etc/quickexec.libs ${D}/opt/QtPalmtop/etc/quickexec.libs + install -m 0644 ${WORKDIR}/oz-compat-0.5/opt/QtPalmtop/pics/libraries.png ${D}/opt/QtPalmtop/pics/libraries.png + + install -m 0755 ${WORKDIR}/oz-compat-0.5/opt/QtPalmtop.compat/bin/* ${D}/opt/QtPalmtop.compat/bin + install -m 0644 ${WORKDIR}/oz-compat-0.5/opt/QtPalmtop.compat/lib/* ${D}/opt/QtPalmtop.compat/lib + + install -m 0755 ${WORKDIR}/oz-compat-0.5/etc/init.d/quickexec ${D}/etc/init.d + + cd ${D}/opt/QtPalmtop/bin + for file in chkhinge makecompat qeserver quickexec runcompat + do + ln -s /opt/QtPalmtop.compat/bin/$file + done + + cd ${D}/opt/QtPalmtop.compat/lib + ln -s libqpe.so.1.5.0 libqpe.so.1.5 + ln -s libqpe.so.1.5.0 libqpe.so.1 + ln -s libqpe.so.1.5.0 libqpe.so + + ln -s libqte.so.2.3.7 libqte.so.2.3.2 + ln -s libqte.so.2.3.7 libqte.so.2.3 + ln -s libqte.so.2.3.7 libqte.so.2 + ln -s libqte.so.2.3.7 libqte.so + + +} + +pkg_postinst() { +test -n "$D" && exit 1 + +# needed for update-rc.d +test -e /mnt/card/etc/init.d/quickexec && ln -s /mnt/card/etc/init.d/quickexec /etc/init.d/quickexec +test -e /mnt/cf/etc/init.d/quickexec && ln -s /mnt/cf/etc/init.d/quickexec /etc/init.d/quickexec +test -e /mnt/ram/etc/init.d/quickexec && ln -s /mnt/ram/etc/init.d/quickexec /etc/init.d/quickexec +} + +pkg_postrm() { + test -e /etc/init.d/quickexec && rm /etc/init.d/quickexec +} + +FILES_${PN} += "/opt /etc" +PACKAGES = "oz-compat" +LEAD_SONAME = "libqte.so.*" + |