1 DESCRIPTION = "AbiWord is free word processing program similar to Microsoft(r) Word"
2 HOMEPAGE = "http://www.abiword.org""
5 DEPENDS = "asio goffice 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]}"
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 gtk-icon-cache pkgconfig mime
36 EXTRA_OECONF = " --disable-pspell \
40 # AbiWord configure.ac does not play nicely with autoreconf
41 # so use the autogen.sh script that comes with AbiWord
45 export NOCONFIGURE="no"; ./autogen.sh
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 ALLOW_EMPTY_abiword-clipart = "1"
58 ALLOW_EMPTY_abiword-icons = "1"
60 FILES_abiword-clipart += "${datadir}/abiword-${SHRT_VER}/clipart"
61 FILES_abiword-icons += "${datadir}/abiword-${SHRT_VER}/icons"
62 FILES_abiword-strings += "${datadir}/abiword-${SHRT_VER}/AbiWord/strings"
63 FILES_abiword-systemprofiles += "${datadir}/abiword-${SHRT_VER}/AbiWord/system.profile*"
64 FILES_abiword-templates += "${datadir}/abiword-${SHRT_VER}/templates"