forked from ports/contrib
32 lines
896 B
Plaintext
32 lines
896 B
Plaintext
# Description: Word processing program using GTK+2.0
|
|
# URL: http://www.abisource.com
|
|
# Packager: Jürgen Daubert, juergen dot daubert at t-online dot de
|
|
# Maintainer: Han Boetes <han@mijncomputer.nl>
|
|
# Depends on: aspell fribidi libgnomeprintui
|
|
|
|
name=abiword
|
|
version=2.4.6
|
|
release=1
|
|
source="http://www.abisource.com/downloads/abiword/$version/source/abiword-$version.tar.gz"
|
|
|
|
build ()
|
|
{
|
|
cd $name-$version/abi
|
|
./configure \
|
|
--prefix=/usr \
|
|
--with-libxml2 \
|
|
--with-pspell=yes \
|
|
--disable-gnome
|
|
make
|
|
make prefix=$PKG/usr install
|
|
|
|
local ABI
|
|
ABI=$PKG/usr/share/AbiSuite-*
|
|
|
|
rm -r $PKG/usr/{lib,share/{applications,icons}}
|
|
rm $ABI/AbiWord/{system.profile-*,readme.txt}
|
|
rm $ABI/templates/normal.awt-*
|
|
find $ABI/AbiWord/strings/* ! -path */en-GB.strings -delete
|
|
sed -i '/requires lib="gnome"/d' $ABI/AbiWord/glade/*.glade
|
|
}
|