0
0
Fork 0
haikuports/dev-libs/chmlib/chmlib-0.40.recipe

73 lines
1.8 KiB
Bash

SUMMARY="A library for dealing with Microsoft ITSS/CHM format files"
DESCRIPTION="chmlib is a small library designed for accessing MS ITSS files. \
The ITSS file format is used for Microsoft Html Help files (.chm), which have \
been the predominant medium for software documentation from Microsoft during \
the past several years, having superceded the previously used .hlp file format.
Note that this is NOT the same as the OLE structured storage file format used \
by MS Excel, Word, and so on. Instead, it is a different file format which \
fulfills a similar purpose. Both file formats may be accessed via instances \
of the IStorage COM interface, which is essentially an \"acts like a \
filesystem\" interface."
HOMEPAGE="http://www.jedrea.com/chmlib/"
COPYRIGHT="
2003 Jed Wing
"
LICENSE="GNU LGPL v2.1"
REVISION="4"
SOURCE_URI="http://www.jedrea.com/chmlib/chmlib-0.40.tar.gz"
CHECKSUM_SHA256="512148ed1ca86dea051ebcf62e6debbb00edfdd9720cde28f6ed98071d3a9617"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
chmlib$secondaryArchSuffix = $portVersion compat >= 0
lib:libchm$secondaryArchSuffix = 0.0.0 compat >= 0
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
chmlib${secondaryArchSuffix}_devel = $portVersion
devel:libchm${secondaryArchSuffix} = 0.0.0 compat >= 0
"
REQUIRES_devel="
chmlib${secondaryArchSuffix} == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:gawk
cmd:gcc$secondaryArchSuffix
cmd:grep
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:sed
"
BUILD()
{
autoreconf -fi
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
rm $libDir/libchm.la
prepareInstalledDevelLibs libchm
# devel package
packageEntries devel \
$developDir
}