summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-03-22 14:24:27 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-03-22 14:27:21 +0000
commit16b575216974e847baf6dd07505405157e20866c (patch)
tree4d9c6d27ec4b3618a140be669019bb503bde8414
parentf21745eda3b6eb34f23573ebb9db7c1ecaf89a23 (diff)
downloadpkg-config-16b575216974e847baf6dd07505405157e20866c.tar.gz
pkg-config.morph: PREFIX and busybox friendly
Use PREFIX instead of /usr use sed to fix autogen.sh to use -c instead of --stdout in gunzip because busybox doesn't have that long option
-rw-r--r--pkg-config.morph3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg-config.morph b/pkg-config.morph
index 97005f9..1ea072e 100644
--- a/pkg-config.morph
+++ b/pkg-config.morph
@@ -3,6 +3,7 @@
"kind": "chunk",
"build-system": "autotools",
"configure-commands": [
- "sh autogen.sh --prefix=/usr"
+ "sed -i -e '/gunzip/s/--stdout/-c/g/' autogen.sh"
+ "sh autogen.sh --prefix=\"$PREFIX\""
]
}