summaryrefslogtreecommitdiff
path: root/data/libtool/make.sh
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-09-29 22:59:03 -1000
committerSam Bingner <sam@bingner.com>2019-09-29 22:59:03 -1000
commit0bcec9f6b28c56aa9333bf78dcd322c25afb858e (patch)
treec9b83ee98597742a39302142a28d347d81752c78 /data/libtool/make.sh
parente5c5466f4ab93900e5a121277beffb798b487778 (diff)
Add libtool and texinfo; update autoconf, automake
Diffstat (limited to 'data/libtool/make.sh')
-rw-r--r--data/libtool/make.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/data/libtool/make.sh b/data/libtool/make.sh
new file mode 100644
index 000000000..6a2780cfd
--- /dev/null
+++ b/data/libtool/make.sh
@@ -0,0 +1,19 @@
+pkg:setup
+pkg:configure
+pkg:make
+pkg:install
+GREP=$(grep '^GREP = ' ${PKG_WORK}/*/Makefile)
+SED=$(grep '^SED = ' ${PKG_WORK}/*/Makefile)
+LD=$(grep '^LD = ' ${PKG_WORK}/*/Makefile)
+NM=$(grep '^NM = ' ${PKG_WORK}/*/Makefile)
+echo sed -i'' \
+ -e "s|${GREP##GREP = }|/bin/grep|" \
+ -e "s|${SED##SED = }|/bin/sed|" \
+ "${PKG_DEST}/$(cat ${PKG_BASE}/arch/${PKG_ARCH}/${PKG_CFTARG}/prefix)"/bin/{libtool,libtoolize}
+sed -i'' \
+ -e "s|${GREP##GREP = }|/bin/grep|" \
+ -e "s|${SED##SED = }|/bin/sed|" \
+ -e "s|${LD##LD = }|/usr/bin/ld|" \
+ -e "s|${NM##NM = }|/usr/bin/nm|" \
+ -e "s|${PKG_TARG}-||" \
+ "${PKG_DEST}/$(cat ${PKG_BASE}/arch/${PKG_ARCH}/${PKG_CFTARG}/prefix)"/bin/{libtool,libtoolize}