summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFran├žois Revol <revol@free.fr>2013-12-27 21:09:32 +0100
committerVincent Sanders <vince@netsurf-browser.org>2014-01-29 09:53:03 +0000
commit0d2a3618f193d63cc18f098e6490df670f6609ef (patch)
tree0d98991a542aa7fb28cc266493951c1e5ec045af
parentab2f5ccb4bf4670f9e943ae739a9afcafca9b108 (diff)
downloadnetsurf-0d2a3618f193d63cc18f098e6490df670f6609ef.tar.gz
netsurf-0d2a3618f193d63cc18f098e6490df670f6609ef.tar.bz2
env.sh: Add ns-pkgman-install to install Haiku dev packages
It is now provided as a specific package.
-rw-r--r--Docs/env.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/Docs/env.sh b/Docs/env.sh
index 734bc34f9..b1b2b341c 100644
--- a/Docs/env.sh
+++ b/Docs/env.sh
@@ -55,6 +55,13 @@ NS_DEV_DEB="build-essential pkg-config git gperf"
NS_TOOL_DEB="flex bison libhtml-parser-perl"
NS_GTK_DEB="libgtk2.0-dev libcurl3-dev libpng-dev librsvg2-dev libjpeg-dev libmozjs185-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 cmd:getconf"
+
#add target specific libraries
if [ "x${TARGET_ABI}" = "xriscos" ]; then
NS_FRONTEND_LIBS="${NS_FRONTEND_LIBS} ${NS_RISCOS_LIBS}"
@@ -66,6 +73,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()
{