mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
libcroco: added a recipe for version 0.6.8
This commit is contained in:
89
dev-libs/libcroco/libcroco-0.6.8.recipe
Normal file
89
dev-libs/libcroco/libcroco-0.6.8.recipe
Normal file
@@ -0,0 +1,89 @@
|
||||
SUMMARY="A css2 parsing and manipulation library"
|
||||
DESCRIPTION="
|
||||
The parser provides a low level event driven SAC like api \
|
||||
and a css object model like api.
|
||||
Libcroco provides a CSS2 selection engine and an experimental
|
||||
xml/css rendering engine.
|
||||
"
|
||||
HOMEPAGE="https://git.gnome.org/browse/libcroco/"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
COPYRIGHT="2003-2004 Dodji Seketeli"
|
||||
SRC_URI="https://git.gnome.org/browse/libcroco/snapshot/libcroco-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="0bb182a726ac7fc15e29e786a9cf2eeed43f3548e10cbdaf2d9579f2fb2ee590"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PATCHES="libcroco-$portVersion.patchset"
|
||||
|
||||
PROVIDES="
|
||||
libcroco$secondaryArchSuffix = $portVersion compat >= 0
|
||||
lib:libcroco_0.6$secondaryArchSuffix = 3.0.1 compat >= 3
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
#required by glib
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
cmd:gtkdocize
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cp /boot/system/data/gtk-doc/data/gtk-doc.make ./
|
||||
autoreconf -fi
|
||||
runConfigure ./configure --disable-gtk-doc --disable-Bsymbolic
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# prepare develop/lib
|
||||
prepareInstalledDevelLibs libcroco-0.6
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$binDir
|
||||
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make tests
|
||||
}
|
||||
|
||||
# ----- devel package ---------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libcroco${secondaryArchSuffix}_devel = $portVersion
|
||||
cmd:croco_0.6_config${secondaryArchSuffix}
|
||||
cmd:csslint_0.6$secondaryArchSuffix
|
||||
devel:libcroco_0.6$secondaryArchSuffix = 3.0.1 compat >= 3
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libcroco$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
22
dev-libs/libcroco/patches/libcroco-0.6.8.patchset
Normal file
22
dev-libs/libcroco/patches/libcroco-0.6.8.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From b17eb1c6b84a68fe230cd47bc23bf4d239f199d1 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Tue, 3 Mar 2015 17:23:30 +0000
|
||||
Subject: Haiku patch
|
||||
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index facf44c..0a0cef4 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -5,7 +5,7 @@ AC_CONFIG_SRCDIR([src/cr-input.c])
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
AM_INIT_AUTOMAKE([1.9 no-dist-gzip dist-bzip2])
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADERS(config.h)
|
||||
|
||||
if test -z "$enable_maintainer_mode"; then
|
||||
enable_maintainer_mode=yes
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user