mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Merge all changes from trunk
This commit is contained in:
25
dev-libs/serd/patches/serd-0.18.0.patch
Normal file
25
dev-libs/serd/patches/serd-0.18.0.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
--- serd-0.18.0/wscript 2012-08-23 04:13:45.002359296 +0000
|
||||
+++ serd-0.18.0-haiku/wscript 2012-12-12 15:55:31.292290560 +0000
|
||||
@@ -3,6 +3,7 @@
|
||||
import os
|
||||
import shutil
|
||||
import subprocess
|
||||
+import sys
|
||||
|
||||
from waflib.extras import autowaf as autowaf
|
||||
import waflib.Logs as Logs, waflib.Options as Options
|
||||
@@ -131,7 +132,12 @@
|
||||
{'SERD_MAJOR_VERSION' : SERD_MAJOR_VERSION})
|
||||
|
||||
libflags = ['-fvisibility=hidden']
|
||||
- libs = ['m']
|
||||
+
|
||||
+
|
||||
+ if sys.platform.startswith('haiku'):
|
||||
+ libs = []
|
||||
+ else:
|
||||
+ libs = ['m']
|
||||
defines = []
|
||||
if bld.env.MSVC_COMPILER:
|
||||
libflags = []
|
||||
|
||||
24
dev-libs/serd/serd-0.18.0.bep
Normal file
24
dev-libs/serd/serd-0.18.0.bep
Normal file
@@ -0,0 +1,24 @@
|
||||
DESCRIPTION="Serd is a lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples."
|
||||
HOMEPAGE="http://drobilla.net/software/serd/"
|
||||
SRC_URI="http://download.drobilla.net/serd-0.18.0.tar.bz2"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
CHECKSUM_MD5="96dbade2c81d6df8100a9ef605ce35f8"
|
||||
|
||||
BUILD {
|
||||
cd serd-0.18.0
|
||||
sed -i "s_#!/usr/bin/env python_#!/boot/common/bin/python_g" waf
|
||||
sed -i "s_#!/usr/bin/env python_#!/boot/common/bin/python_g" wscript
|
||||
./waf configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
|
||||
./waf
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd serd-0.18.0
|
||||
./waf install
|
||||
}
|
||||
|
||||
COPYRIGHT="2011-2012 David Robillard"
|
||||
LICENSE="MIT"
|
||||
Reference in New Issue
Block a user