summaryrefslogtreecommitdiff
path: root/packages/qpf-fonts/qpf-qte_2.3.10.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2005-02-15 12:12:20 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2005-02-15 12:12:20 +0000
commit7e28ce87293ab6d14b9164673c70bf4c8f4b89bf (patch)
tree4f304d2eafb5dcc35ecc17c844ba3d5ed0b76a06 /packages/qpf-fonts/qpf-qte_2.3.10.bb
parentc5b77bf7fd2a5d21046f583e567f7665e21d11f0 (diff)
split QPF fonts into one-size packages via "qpf" bbclass
BKrev: 4211e724Lhd2ybrh-IXMaPuPThuqvA
Diffstat (limited to 'packages/qpf-fonts/qpf-qte_2.3.10.bb')
-rw-r--r--packages/qpf-fonts/qpf-qte_2.3.10.bb27
1 files changed, 3 insertions, 24 deletions
diff --git a/packages/qpf-fonts/qpf-qte_2.3.10.bb b/packages/qpf-fonts/qpf-qte_2.3.10.bb
index 0ab77560bf..f130c5f253 100644
--- a/packages/qpf-fonts/qpf-qte_2.3.10.bb
+++ b/packages/qpf-fonts/qpf-qte_2.3.10.bb
@@ -9,31 +9,10 @@ SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}-free.tar.gz \
file://update-qtfontdir"
S = "${WORKDIR}/qt-${PV}"
-do_configure() {
- :
-}
-
-do_compile() {
- :
-}
+inherit qpf
-pkg_postinst_fonts() {
-#!/bin/sh
-set -e
-. /etc/profile
-${sbindir}/update-qtfontdir
-}
-
-python populate_packages_prepend() {
- postinst = bb.data.getVar('pkg_postinst_fonts', d, 1)
- postrm = postinst
- pkgregex = "^([a-z]*_[0-9]*).*.qpf$"
- pkgpattern = "qte-font-%s"
-
- do_split_packages(d, root='/opt/QtPalmtop/lib/fonts', file_regex=pkgregex, output_pattern=pkgpattern,
- description='Qt/E font %s', postinst=postinst, postrm=postrm, recursive=True, hook=None,
- extra_depends='qte-font-common')
-}
+QPF_PKGPATTERN = "qte-font-%s"
+QPF_DESCRIPTION = "Qt/E font %s"
do_install() {
install -d ${D}/${sbindir}/