netsurf: build on x86 and x86_64

* fix dependencies and build system
* check doesn't build correctly with haikuporter on x86_64 beause
of a Python bug (hard link extraction in tar files)
This commit is contained in:
Jerome Duval
2014-08-30 19:38:02 +00:00
parent 982571ec0d
commit 36e2c0ed6d
16 changed files with 504 additions and 140 deletions

View File

@@ -1,11 +1,25 @@
#FIXME: Appending installation info to /packages/html_parser-3.70-1/.self/lib/perl5/5.18.1/BePC-haiku/perllocal.pod
#FIXME: Warning: prerequisite HTML::Tagset 3 not found.
SUMMARY="Encode or decode strings with HTML entities"
DESCRIPTION="
The HTML-Parser distribution is is a collection of perl modules that parse and \
extract information from HTML documents.
"
HOMEPAGE="http://search.cpan.org/~gaas/HTML-Parser/"
SRC_URI="https://github.com/gisle/html-parser/archive/3.71.tar.gz"
COPYRIGHT="
1995-2009 Gisle Aas. All rights reserved.
1999-2000 Michael A. Chase. All rights reserved.
"
LICENSE="
GNU GPL v1
Artistic (Perl)
"
SRC_URI="https://github.com/gisle/html-parser/archive/$portVersion.tar.gz"
SRC_FILENAME="html_parser-$portVersion.tar.gz"
CHECKSUM_SHA256="0ef2ec6ed99f80a344ce3bc93d5eff6dd8613f4a544fa4ffe44a823cfd19b851"
REVISION="1"
ARCHITECTURES="x86 x86_gcc2"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
html_parser = $portVersion
"
@@ -13,32 +27,24 @@ REQUIRES="
haiku >= $haikuVersion
perl
"
COPYRIGHT="
1995-2009 Gisle Aas. All rights reserved.
1999-2000 Michael A. Chase. All rights reserved.
"
LICENSE="
GNU GPL v1
Artistic (Perl)
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
cmd:perl"
cmd:perl
"
SOURCE_DIR="html-parser-3.71"
BUILD() {
SOURCE_DIR="html-parser-$portVersion"
BUILD()
{
perl Makefile.PL PREFIX=$prefix
make
}
INSTALL() {
INSTALL()
{
make install
}
DESCRIPTION="
The HTML-Parser distribution is is a collection of perl modules that parse and \
extract information from HTML documents.
"