checksums.ini: add checksum for pengutronix canutils
[openembedded.git] / packages / abiword / abiword-2.5.inc
blob09f61d0534e32ffb3202c100b4c3712dff5341f0
1 DESCRIPTION = "AbiWord is 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 wv libgsf libgnomeprint libgnomeprintui libglade libfribidi enchant jpeg libpng libxml2"
6 RDEPENDS    = "enchant glibc-gconv-ibm850 glibc-gconv-cp1252 \
7                glibc-gconv-iso8859-15 glibc-gconv-iso8859-1"
9 SRC_URI = "http://www.abiword.org/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz"
11 #want 2.x from 2.x.y for the installation directory
12 SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
14 FILES_${PN} += " \
15                 ${datadir}/icons/* \
16                 ${datadir}/abiword-${SHRT_VER}/glade \
17                 ${datadir}/abiword-${SHRT_VER}/scripts \
18                 ${datadir}/abiword-${SHRT_VER}/system.profile-en \
19                 ${datadir}/abiword-${SHRT_VER}/system.profile-en_GB \
20 #               ${datadir}/abiword-${SHRT_VER}/templates/A4.awt \
21 #               ${datadir}/abiword-${SHRT_VER}/templates/US-Letter.awt \
22                 ${datadir}/abiword-${SHRT_VER}/templates/normal.awt \
23                 ${datadir}/abiword-${SHRT_VER}/templates/normal.awt-en_GB \
24                 ${datadir}/abiword-${SHRT_VER}/templates/Employee-Directory.awt \
25                 ${datadir}/abiword-${SHRT_VER}/templates/Business-Report.awt \
26                 ${datadir}/abiword-${SHRT_VER}/templates/Fax-Coversheet.awt \
27                 ${datadir}/abiword-${SHRT_VER}/templates/Resume.awt \
28                 ${datadir}/abiword-${SHRT_VER}/templates/Two-Columns.awt \
29                 ${datadir}/abiword-${SHRT_VER}/templates/Memo.awt \
30                 ${datadir}/abiword-${SHRT_VER}/templates/Press-Release.awt "
32 inherit autotools pkgconfig
34 PARALLEL_MAKE = ""
36 EXTRA_OECONF = " --disable-pspell \
37                  --enable-enchant \
38                  --with-sys-wv"
40 # AbiWord configure.ac does not play nicely with autoreconf
41 # so use the autogen.sh script that comes with AbiWord
43 do_configure() {
44         cd ${S}
45         export NOCONFIGURE="no"; ./autogen.sh
46         oe_runconf
50 do_install_append() {
51         install -d ${D}${datadir}/pixmaps/
52         mv ${D}${datadir}/icons/* ${D}${datadir}/pixmaps/
55 PACKAGES += " abiword-clipart abiword-icons abiword-strings abiword-systemprofiles abiword-templates "
57 FILES_abiword-clipart           += "${datadir}/abiword-${SHRT_VER}/clipart"
58 FILES_abiword-icons             += "${datadir}/abiword-${SHRT_VER}/icons"
59 FILES_abiword-strings           += "${datadir}/abiword-${SHRT_VER}/AbiWord/strings"
60 FILES_abiword-systemprofiles    += "${datadir}/abiword-${SHRT_VER}/AbiWord/system.profile*"
61 FILES_abiword-templates         += "${datadir}/abiword-${SHRT_VER}/templates"