diff options
author | Michael Lauer <mickey@vanille-media.de> | 2004-10-03 01:11:44 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2004-10-03 01:11:44 +0000 |
commit | fdd3150b77df034ab19bb0af3df33341a9513de0 (patch) | |
tree | ee5d4cfbc19f49639564f73ce092175f37161faa /oz-compat/oz-compat_0.5.oe | |
parent | b217e4b81162823e8dce53f396c2263e698b867a (diff) |
Merge bk://openembedded@openembedded.bkbits.net/packages
into gandalf.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages
2004/10/02 21:59:00+02:00 local!CoreDump
Merge bk://openembedded@openembedded.bkbits.net/packages
into mhcln01.hentges.local:/home/mhentges/OpenEmbedded/packages
2004/10/02 21:58:26+02:00 local!CoreDump
Add support for defining feed-URLs in *-image.oe files by setting FEED_URIS. The URLs will then be included as sources in ipkg.conf. See opie-image.oe for an example.
BKrev: 415f51d0CQqj8c3kxPUCSzuR6GctAw
Diffstat (limited to 'oz-compat/oz-compat_0.5.oe')
-rw-r--r-- | oz-compat/oz-compat_0.5.oe | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/oz-compat/oz-compat_0.5.oe b/oz-compat/oz-compat_0.5.oe index e69de29bb2..d71dcf2dfb 100644 --- a/oz-compat/oz-compat_0.5.oe +++ b/oz-compat/oz-compat_0.5.oe @@ -0,0 +1,84 @@ +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" +MAINTAINER = "Tim Ansell <mithro AT mithis.net>" +LICENSE = "GPL" + +PR = "r0" + +SRC_URI = "http://openzaurus.org/mirror/oz-compat_0.5.tar.gz \ + file://hentges.patch;patch=0" + +FILES_${PN} += "/opt /etc" +PACKAGES = "oz-compat" + +RDEPENDS = "opie-sh" + +LEAD_SONAME = "libqte.so.*" + +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 + + +} + +do_configure() { + rm ${WORKDIR}/oz-compat-0.5/opt/QtPalmtop.compat/bin/*.patch +} + +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 +} + + + |