summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFran├žois Revol <revol@free.fr>2013-12-27 21:09:32 +0100
committerFran├žois Revol <revol@free.fr>2013-12-27 21:09:32 +0100
commita3b845170dce994edc8c1c819692aaa783a5015f (patch)
treed227532b779cfa91b82979d38cad73edd8339d86
parent674ef3f9f399e5b174c831326ca4bb6f36b40d01 (diff)
downloadnetsurf-a3b845170dce994edc8c1c819692aaa783a5015f.tar.gz
netsurf-a3b845170dce994edc8c1c819692aaa783a5015f.tar.bz2
env.sh: Add ns-pkgman-install to install Haiku dev packages
-rw-r--r--Docs/env.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/Docs/env.sh b/Docs/env.sh
index 79b4188b7..2859e6d95 100644
--- a/Docs/env.sh
+++ b/Docs/env.sh
@@ -56,6 +56,13 @@ NS_DEV_DEB="build-essential pkg-config git gperf"
NS_TOOL_DEB="flex bison"
NS_GTK_DEB="libgtk2.0-dev libcurl3-dev libmng-dev librsvg2-dev liblcms1-dev libjpeg-dev libmozjs-dev"
+# Haiku secondary arch suffix:
+# empty for primary (gcc2 on x86),
+# "_x86" for gcc4 secondary.
+HA=
+# Haiku packages
+NS_DEV_HPKG="curl${HA}_devel libpng${HA}_devel jpeg${HA}_devel openssl${HA}_devel libiconv${HA}_devel expat${HA}_devel pkgconfig${HA} html_parser"
+
#add target specific libraries
if [ "x${TARGET_ABI}" = "xriscos" ]; then
NS_FRONTEND_LIBS="${NS_FRONTEND_LIBS} ${NS_RISCOS_LIBS}"
@@ -67,6 +74,12 @@ ns-apt-get-install()
sudo apt-get install $(echo ${NS_DEV_DEB} ${NS_TOOL_DEB} ${NS_GTK_DEB})
}
+# pkgman commandline to install necessary dev packages
+ns-pkgman-install()
+{
+ pkgman install $(echo ${NS_DEV_HPKG})
+}
+
# git pull in all repos parameters are passed to git pull
ns-pull()
{