diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2005-02-15 12:12:19 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2005-02-15 12:12:19 +0000 |
commit | c5b77bf7fd2a5d21046f583e567f7665e21d11f0 (patch) | |
tree | 67283fe90a19d76b98d4fe1a4017d6c4c314ed27 /packages/zbedic | |
parent | 6cd5119605e7bb651b5e602ed7e59bb0b793f2e6 (diff) |
zbedic: fixed packaging - pics & help
BKrev: 4211e723sYEsdmr7epNj1-k78BGU7g
Diffstat (limited to 'packages/zbedic')
-rw-r--r-- | packages/zbedic/zbedic_20041227.bb | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/packages/zbedic/zbedic_20041227.bb b/packages/zbedic/zbedic_20041227.bb index e69de29bb2..48f2712f4b 100644 --- a/packages/zbedic/zbedic_20041227.bb +++ b/packages/zbedic/zbedic_20041227.bb @@ -0,0 +1,44 @@ +DESCRIPTION = "A dictionary application for Qt/E based Palmtop Environments" +SECTION = "opie/applications" +PRIORITY = "optional" +MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" +LICENSE = "GPL" +APPTYPE = "binary" +APPDESKTOP = "${WORKDIR}/zbedic/misc" +CVSDATE = "${PV}" +PR = "r1" + +SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/bedic;module=zbedic \ + cvs://anonymous@cvs.sourceforge.net/cvsroot/bedic;module=libbedic \ + file://file.h file://file.cpp \ + file://qtopia17.patch;patch=1;pnum=0" +S = "${WORKDIR}/libbedic" +ZS = "${WORKDIR}/zbedic" + +inherit opie +export OE_QMAKE_LINK="${CXX}" + +do_configure() { + qmake -project && qmake -makefile -t lib -spec ${QMAKESPEC} CONFIG=console CONFIG+=staticlib -after \ + INCLUDEPATH+=../include TARGET=bedic DESTDIR=${STAGING_LIBDIR} HEADERS+=src/file.h SOURCES+=src/file.cpp + cd ${ZS} && rm -rf *~ && qmake -project && qmake -makefile -spec ${QMAKESPEC} -after \ + INCLUDEPATH=${S}/include DEFINES+=QWS LIBS+=-lqpe LIBS+=-lbedic DESTDIR=${S} TARGET=zbedic +} + +do_compile() { + install -m 0644 ${WORKDIR}/file.* ${S}/src/ + oe_runmake + cd ${ZS} && oe_runmake +} + +do_install() { + install -d ${D}${palmtopdir}/pics/zbedic/ + install -d ${D}${palmtopdir}/help/html/ + install -m 0644 ${ZS}/misc/*.png ${D}/${palmtopdir}/pics/zbedic/ + install -m 0644 ${ZS}/misc/zbedic.png ${D}/${palmtopdir}/pics/ + install -m 0644 ${ZS}/doc/manual/*.html ${D}/${palmtopdir}/help/html/ + rm ${D}/${palmtopdir}/pics/zbedic/zbedic.png +} + +PACKAGES =+ "zbedic-help-en" +FILES_zbedic-help-en = "${palmtopdir}/help/html/*" |