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,23 +1,30 @@
DESCRIPTION="Libnsgif is a decoding library for GIF image file format"
SUMMARY="A decoding library for GIF images"
HOMEPAGE="http://www.netsurf-browser.org/projects/libnsgif/"
SRC_URI="http://download.netsurf-browser.org/libs/releases/libnsgif-0.1.1-src.tar.gz"
COPYRIGHT="2006 Richard Wilson, 2008 - 2013 Sean Fox"
LICENSE="MIT"
SRC_URI="http://download.netsurf-browser.org/libs/releases/libnsgif-$portVersion-src.tar.gz"
CHECKSUM_SHA256="d450ea0a9da234486e997248b30a86524f75f1021ca67017b5597423cf6c0a15"
REVISION="1"
ARCHITECTURES="x86_gcc2"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="libnsgif-$portVersion.patchset"
PROVIDES="
libnsgif = $portVersion
"
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
netsurf_buildsystem
"
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
netsurf_buildsystem
cmd:gcc
cmd:make
"
"
PATCHES="libnsgif-0.1.1.patchset"
BUILD()
{
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
@@ -29,14 +36,19 @@ INSTALL()
INCLUDEDIR=$relativeIncludeDir install
prepareInstalledDevelLib libnsgif
fixPkgconfig libnsgif
packageEntries devel $developDir
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}
LICENSE="MIT"
COPYRIGHT="2006 Richard Wilson, 2008 - 2013 Sean Fox"
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libnsgif_devel = $portVersion
devel:libnsgif = $portVersion
"
"
REQUIRES_devel="
libnsgif$secondaryArchSuffix == $portVersion base
"