mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
@@ -5,14 +5,15 @@ construct JSON objects in C, output them as JSON formatted strings and parse \
|
||||
JSON formatted strings back into the C representation of JSON objects.
|
||||
"
|
||||
HOMEPAGE="https://github.com/json-c/json-c/wiki"
|
||||
COPYRIGHT="2009-2012 Eric Haszlakiewicz
|
||||
2004, 2005 Metaparadigm Pte Ltd"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="
|
||||
2009-2012 Eric Haszlakiewicz
|
||||
2004, 2005 Metaparadigm Pte Ltd
|
||||
"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://s3.amazonaws.com/json-c_releases/releases/json-c-0.12-nodoc.tar.gz"
|
||||
CHECKSUM_SHA256="6fd6d2311d610b279e1bcdd5c6d4f699700159d3e0786de8306af7b4bc94fb35"
|
||||
REVISION="1"
|
||||
SOURCE_DIR="json-c-$portVersion"
|
||||
PATCHES="json_c-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
@@ -22,6 +23,15 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
json_c_devel = $portVersion
|
||||
devel:libjson_c = 2.0.1 compat >= 2
|
||||
"
|
||||
REQUIRES_devel="
|
||||
json_c$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
cmd:aclocal
|
||||
@@ -31,10 +41,6 @@ BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
"
|
||||
|
||||
SOURCE_DIR="json-c-$portVersion"
|
||||
|
||||
PATCHES="json_c-$portVersion.patchset"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
@@ -55,13 +61,3 @@ TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
json_c_devel = $portVersion
|
||||
devel:libjson_c = 2.0.1 compat >= 2
|
||||
"
|
||||
REQUIRES_devel="
|
||||
json_c$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
@@ -5,32 +5,35 @@ LibCSS is a CSS (Cascading Style Sheet) parser and selection engine.
|
||||
HOMEPAGE="http://www.netsurf-browser.org/projects/libcss/"
|
||||
COPYRIGHT="2007-2014 J-M Bell"
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libcss-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="ecaa09b07d4ecfd4644163bc0f0332b81aaaffbb9a373465e15e44e06666faf1"
|
||||
REVISION="2"
|
||||
PATCHES="libcss-0.3.0.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PATCHES="libcss-0.3.0.patchset"
|
||||
|
||||
PROVIDES="
|
||||
libcss$secondaryArchSuffix = $portVersion
|
||||
lib:libcss$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libparserutils${secondaryArchSuffix}
|
||||
lib:libwapcaplet${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libcss${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libcss$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libparserutils${secondaryArchSuffix} >= 0.2.0
|
||||
devel:libwapcaplet${secondaryArchSuffix} >= 0.2.1
|
||||
devel:libiconv
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
@@ -64,10 +67,3 @@ TEST()
|
||||
make test PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
LDFLAGS="-liconv -lwapcaplet -lparserutils"
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libcss${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libcss$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
SUMMARY="A library for solving packages and reading repositories"
|
||||
DESCRIPTION="A Library for solving packages and reading repositories."
|
||||
LICENSE="BSD (3-clause)"
|
||||
COPYRIGHT="2007-2013, Novell Inc."
|
||||
HOMEPAGE="http://github.com/openSUSE/libsolv"
|
||||
COPYRIGHT="2007-2013, Novell Inc."
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
srcGitRev="da2650933f85f5a30d8146bfb22af53d2620d0c7"
|
||||
SOURCE_URI="https://github.com/weinhold/libsolv/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="79aa7772bfe403f003e8063480ddc3d4f491b3f5d7b8cace610605fba3318150"
|
||||
SOURCE_DIR="libsolv-$srcGitRev"
|
||||
SOURCE_FILENAME="$portVersionedName.tar.gz"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64 ppc arm"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
@@ -21,6 +23,16 @@ REQUIRES="
|
||||
lib:libexpat$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libsolv${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libsolv${secondaryArchSuffix} = $portVersion
|
||||
devel:libsolvext${secondaryArchSuffix} = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libsolv${secondaryArchSuffix} == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libexpat$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
@@ -34,8 +46,6 @@ BUILD_PREREQUIRES="
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
SOURCE_DIR="libsolv-$srcGitRev"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -i 's,${CMAKE_INSTALL_PREFIX}/bin',$binDir, CMakeLists.txt
|
||||
@@ -73,14 +83,3 @@ INSTALL()
|
||||
$dataDir \
|
||||
$developDir
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libsolv${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libsolv${secondaryArchSuffix} = $portVersion
|
||||
devel:libsolvext${secondaryArchSuffix} = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libsolv${secondaryArchSuffix} == $portVersion base
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user