nm-applet: fix some buildproblems
[openembedded.git] / recipes / abiword / abiword.inc
blob58f712aca9c961bc3aa900c3ac99ea932d6b252a
1 DESCRIPTION = "AbiWord is a free word processing program similar to Microsoft(r) Word"
2 HOMEPAGE = "http://www.abiword.org""
3 SECTION = "x11/office"
4 LICENSE = "GPLv2"
5 DEPENDS     = "perl-native libgsf libgnomeprint libgnomeprintui libglade libfribidi enchant jpeg libpng libxml2"
6 RDEPENDS    = "enchant "
7 RDEPENDS_linux += "glibc-gconv-ibm850 glibc-gconv-cp1252 \
8                    glibc-gconv-iso8859-15 glibc-gconv-iso8859-1"
9 PR = "r2"
11 SRC_URI = "http://www.abiword.org/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz"
12 S = "${WORKDIR}/abiword-${PV}/abi"
14 FILES_${PN} += " \
15                 ${datadir}/icons/* \
16                 ${datadir}/AbiSuite-2.4/AbiWord/glade \
17                 ${datadir}/AbiSuite-2.4/AbiWord/scripts \
18                 ${datadir}/AbiSuite-2.4/AbiWord/system.profile-en \
19                 ${datadir}/AbiSuite-2.4/AbiWord/system.profile-en_GB \
20 #               ${datadir}/AbiSuite-2.4/templates/A4.awt \
21 #               ${datadir}/AbiSuite-2.4/templates/US-Letter.awt \
22                 ${datadir}/AbiSuite-2.4/templates/normal.awt \
23                 ${datadir}/AbiSuite-2.4/templates/normal.awt-en_GB \
24                 ${datadir}/AbiSuite-2.4/templates/Employee-Directory.awt \
25                 ${datadir}/AbiSuite-2.4/templates/Business-Report.awt \
26                 ${datadir}/AbiSuite-2.4/templates/Fax-Coversheet.awt \
27                 ${datadir}/AbiSuite-2.4/templates/Resume.awt \
28                 ${datadir}/AbiSuite-2.4/templates/Two-Columns.awt \
29                 ${datadir}/AbiSuite-2.4/templates/Memo.awt \
30                 ${datadir}/AbiSuite-2.4/templates/Press-Release.awt "
32 inherit autotools
34 PARALLEL_MAKE = ""
36 EXTRA_OECONF = "--disable-pspell --enable-enchant"
38 do_install_append() {
39         install -d ${D}${datadir}/pixmaps/
40         mv ${D}${datadir}/icons/* ${D}${datadir}/pixmaps/
43 PACKAGES += " abiword-clipart abiword-icons abiword-strings abiword-systemprofiles abiword-templates "
45 FILES_abiword-clipart           += "${datadir}/AbiSuite-2.4/clipart"
46 FILES_abiword-icons             += "${datadir}/AbiSuite-2.4/icons"
47 FILES_abiword-strings           += "${datadir}/AbiSuite-2.4/AbiWord/strings"
48 FILES_abiword-systemprofiles    += "${datadir}/AbiSuite-2.4/AbiWord/system.profile*"
49 FILES_abiword-templates         += "${datadir}/AbiSuite-2.4/templates"