mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
74 lines
1.5 KiB
Plaintext
74 lines
1.5 KiB
Plaintext
SUMMARY="XML parser toolkit"
|
|
DESCRIPTION="Expat is an XML parser library written in C. It is a stream-oriented parser in which an application registers handlers for things the parser might find in the XML document (like start tags)."
|
|
HOMEPAGE="http://expat.sourceforge.net/"
|
|
COPYRIGHT="
|
|
1998-2000 Thai Open Source Software Center Ltd and Clark Cooper
|
|
2001-2006 Expat maintainers.
|
|
"
|
|
LICENSE="MIT"
|
|
SRC_URI="http://iweb.dl.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz"
|
|
CHECKSUM_MD5="ee8b492592568805593f81f8cdf2a04c"
|
|
REVISION="6"
|
|
ARCHITECTURES="x86_gcc2 ?x86"
|
|
|
|
PROVIDES="
|
|
expat = $portVersion compat >= 2.0
|
|
cmd:xmlwf = $portVersion compat >= 2.0
|
|
lib:libexpat = 1.5.2 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku >= $haikuVersion
|
|
"
|
|
BUILD_REQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:libtoolize
|
|
cmd:make
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku_devel >= $haikuVersion
|
|
"
|
|
|
|
SOURCE_DIR="$portVersionedName"
|
|
|
|
PATCH()
|
|
{
|
|
echo "AC_CONFIG_MACRO_DIR([m4])" >> configure.in
|
|
echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am
|
|
}
|
|
|
|
BUILD()
|
|
{
|
|
rm -f conftools/libtool.m4
|
|
libtoolize --force --copy --install
|
|
aclocal -I conftools -I m4
|
|
autoconf
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
# prepare develop/lib
|
|
prepareInstalledDevelLibs libexpat
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
# ----- devel package -------------------------------------------------------
|
|
|
|
SUMMARY_devel="The expat development files"
|
|
PROVIDES_devel="
|
|
expat_devel = $portVersion
|
|
devel:libexpat = 1.5.2 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
expat == $portVersion base
|
|
"
|