-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathCQRlib-1.1.4-1bl1.src.patch
64 lines (64 loc) · 1.8 KB
/
CQRlib-1.1.4-1bl1.src.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
--- origsrc/cqrlib-CQRlib-1.1.4/CQRlib.pc.in 1970-01-01 09:00:00.000000000 +0900
+++ src/cqrlib-CQRlib-1.1.4/CQRlib.pc.in 2019-01-14 20:00:53.035552600 +0900
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: CQRlib
+Description: ANSI C API for quaternion arithmetic and rotation
+Version: @VERSION@
+Libs: -L${libdir} -lCQRlib
+Cflags: -I${includedir}
--- origsrc/cqrlib-CQRlib-1.1.4/Makefile.am 1970-01-01 09:00:00.000000000 +0900
+++ src/cqrlib-CQRlib-1.1.4/Makefile.am 2019-01-14 20:00:53.081544500 +0900
@@ -0,0 +1,15 @@
+
+check_PROGRAMS = CQRlibTest CPPQRTest
+CQRlibTest_SOURCES = CQRlibTest.c
+CQRlibTest_LDADD = libCQRlib.la
+CPPQRTest_SOURCES = CPPQRTest.cpp
+CPPQRTest_LDADD = libCQRlib.la
+
+include_HEADERS = cqrlib.h
+
+lib_LTLIBRARIES = libCQRlib.la
+libCQRlib_la_SOURCES = cqrlib.c
+libCQRlib_la_LDFLAGS = -no-undefined -version-info 3:0:1
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = $(PACKAGE).pc
--- origsrc/cqrlib-CQRlib-1.1.4/configure.ac 1970-01-01 09:00:00.000000000 +0900
+++ src/cqrlib-CQRlib-1.1.4/configure.ac 2019-01-14 20:00:53.083592600 +0900
@@ -0,0 +1,30 @@
+# -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.69])
+AC_INIT([CQRlib], [1.1.4])
+AC_CONFIG_SRCDIR([CPPQRTest.cpp])
+AC_CONFIG_HEADERS([config.h])
+AM_INIT_AUTOMAKE
+
+# Checks for programs.
+AC_PROG_CXX
+AC_PROG_CC
+AC_PROG_INSTALL
+AC_PROG_MAKE_SET
+LT_INIT
+
+# Checks for libraries.
+
+# Checks for header files.
+AC_CHECK_HEADERS([float.h malloc.h stdlib.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_CHECK_HEADER_STDBOOL
+AC_C_INLINE
+
+# Checks for library functions.
+AC_CHECK_FUNCS([pow sqrt])
+
+AC_CONFIG_FILES([CQRlib.pc Makefile])
+AC_OUTPUT