gsf: convert to recipe.

This commit is contained in:
Adrien Destugues
2015-11-12 15:52:48 +01:00
parent 6eeee9afd7
commit 092153e795

View File

@@ -1,32 +1,61 @@
DESCRIPTION="libgsf"
HOMEPAGE="http://www.gnome.org/"
SOURCE_URI="http://ftp.acc.umu.se/pub/GNOME/sources/libgsf/1.14/libgsf-1.14.18.tar.bz2"
CHECKSUM_MD5="2c15d875b1931c40c7e7a2368f3ed948"
SUMMARY="I/O abstraction for reading/writing compound files"
DESCRIPTION="GSF was written as part of the Gnumeric project. It started in \
2002 as a replacement for libole2 which Gnumeric was using to handle the \
Microsoft Excel® file format, as libole2's code had become difficult to \
maintain and was difficult to generalize. GSF was designed to be a more \
general library for dealing with a number of different types of structured \
data files and streams.
With the release of Gnumeric 1.1.6 (July 2002), Gnumeric used GSF and libole2 \
was orphaned."
HOMEPAGE="https://developer.gnome.org/gsf/"
SOURCE_URI="http://ftp.acc.umu.se/pub/GNOME/sources/libgsf/1.14/libgsf-$portVersion.tar.bz2"
CHECKSUM_SHA256="16d29e82f7eba68f919f2588ea5328973490fe6d4a7a5f160e8af89b387c9a95"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND="pkgconfig >= 0.23
sys-devel/gettext >= 0.17
ARCHITECTURES="!x86_gcc2"
PROVIDES="
libgsf = $portVersion
"
BUILD_REQUIRES="
haiku_devel
devel:libglib_2.0
devel:libgobject_2.0
devel:libxml2
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc
cmd:intltool_update
cmd:make
cmd:pkg_config
cmd:python
cmd:xgettext
"
DEPEND="
dev-perl/XML-Parser >= 2.3.6
dev-util/intltool >= 0.40.6
dev-lib/glib >= 2.18.3"
BUILD()
{
cd libgsf-1.14.18
libtoolize --force --copy --install
autoreconf -i
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
# libtoolize --force --copy --install
# autoreconf -i
runConfigure ./configure
make $jobArgs
cd thumbnailer
make
make $jobArgs
}
INSTALL()
{
cd libgsf-1.14.18
make install
cd thumbnailer
make install
}
COPYRIGHT="2005-2010 The Gnome Project"
LICESNE="GNU LGPL v2.1"
LICENSE="GNU LGPL v2.1"