mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
expat-2.0.1: Update for hpkg building
This commit is contained in:
@@ -1,26 +1,39 @@
|
||||
DESCRIPTION="XML parsing libraries"
|
||||
SUMMARY="XML Parser Toolkit"
|
||||
DESCRIPTION="XML Parser Toolkit"
|
||||
HOMEPAGE="http://expat.sourceforge.net/"
|
||||
SRC_URI="http://iweb.dl.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
CHECKSUM_MD5="ee8b492592568805593f81f8cdf2a04c"
|
||||
REVISION="2"
|
||||
STATUS_HAIKU="stable"
|
||||
|
||||
PROVIDES="expat = $portVersion compat >= 2.0
|
||||
lib:libexpat = $portVersion compat >= 1.5"
|
||||
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"
|
||||
|
||||
BUILD {
|
||||
cd expat-2.0.1
|
||||
rm -f conftools/libtool.m4
|
||||
echo "AC_CONFIG_MACRO_DIR([m4])" >> configure.in
|
||||
echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am
|
||||
libtoolize --force --copy --install
|
||||
aclocal -I conftools -I m4
|
||||
autoconf
|
||||
configure --prefix=/boot/common
|
||||
configure $configureDirArgs
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd expat-2.0.1
|
||||
make install DESTDIR="${DESTDIR}"
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="1998-2000 Thai Open Source Software Center Ltd and Clark Cooper
|
||||
2001-2006 Expat maintainers."
|
||||
|
||||
Reference in New Issue
Block a user