mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
74 lines
1.6 KiB
Bash
74 lines
1.6 KiB
Bash
SUMMARY="Library to extract valid data from within an Excel spreadsheet"
|
|
DESCRIPTION="FreeXL is a simple library intended for extracting the contents and some \
|
|
metadata from Microsoft Excel (.xls) format files."
|
|
HOMEPAGE="https://www.gaia-gis.it/fossil/freexl/index"
|
|
COPYRIGHT="2011-2021 Alessandro Furieri"
|
|
LICENSE="
|
|
GNU GPL v3
|
|
GNU LGPL v2.1
|
|
MPL v2.0
|
|
"
|
|
REVISION="1"
|
|
SOURCE_URI="http://www.gaia-gis.it/gaia-sins/freexl-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="176705f1de58ab7c1eebbf5c6de46ab76fcd8b856508dbd28f5648f7c6e1a7f0"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="1.2.0"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
freexl$secondaryArchSuffix = $portVersion
|
|
lib:libfreexl$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libexpat$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libminizip$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
freexl${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libfreexl$secondaryArchSuffix = $libVersion
|
|
"
|
|
REQUIRES_devel="
|
|
freexl$secondaryArchSuffix == $portVersion
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libexpat$secondaryArchSuffix
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libminizip$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/*.{a,la}
|
|
|
|
prepareInstalledDevelLibs libfreexl
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|