summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-04-01 14:35:54 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-04-01 16:53:24 +0000
commit4ebcf671416927b64475da7b810b6016c847bf73 (patch)
tree3fb08255928b955a2f6f4b47dd8e09f47ffdf0cc
parent5d498a6d7449d44a9278909dd10530ef0a19de29 (diff)
downloaditzam-tarball-4ebcf671416927b64475da7b810b6016c847bf73.tar.gz
Add morphology file, since it doesn't istall libitzam.pc by defaultbaserock/genivi/baseline
-rw-r--r--configure.ac2
-rw-r--r--itzam-tarball.morph10
2 files changed, 11 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b2b6b74..48088aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
AC_INIT(src/itzam.h)
AC_CONFIG_MACRO_DIR([m4])
-GENERIC_LIBRARY_NAME=libitzam
+GENERIC_LIBRARY_NAME=itzam
#release versioning
GENERIC_MAJOR_VERSION=6
diff --git a/itzam-tarball.morph b/itzam-tarball.morph
new file mode 100644
index 0000000..b8e6631
--- /dev/null
+++ b/itzam-tarball.morph
@@ -0,0 +1,10 @@
+name: itzam-tarball
+kind: chunk
+build-system: autotools
+pre-configure-commands:
+ - sed -i 's/GENERIC_LIBRARY_NAME=libitzam/GENERIC_LIBRARY_NAME=itzam/g' configure.ac
+ - mkdir m4
+ - touch NEWS README AUTHORS ChangeLog
+ - autoreconf -ivf
+post-install-commands:
+ - install -D -m644 libitzam.pc "$DESTDIR$PREFIX/lib/pkgconfig/libitzam.pc"