summaryrefslogtreecommitdiff
path: root/src/mozclient/nspr.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/mozclient/nspr.conf')
-rw-r--r--src/mozclient/nspr.conf27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/mozclient/nspr.conf b/src/mozclient/nspr.conf
new file mode 100644
index 0000000..36ad1e3
--- /dev/null
+++ b/src/mozclient/nspr.conf
@@ -0,0 +1,27 @@
+# Copyright (c) 2007-2008 Fabien Tassin <fta@sofaraway.org>
+# Project: nspr
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+MOZCLIENT_APPNAME = nspr
+MOZCLIENT_PROJECT = # null
+MOZCLIENT_VCS = cvs
+MOZCLIENT_MODULES = mozilla/nsprpub
+MOZCLIENT_FILE = mozilla/nsprpub/pr/include/prinit.h
+MOZCLIENT_GETVERSION = ( grep -E '^\#define PR_VERSION' mozilla/nsprpub/pr/include/prinit.h | cut -d\" -f2 | tr 'A-Z' 'a-z' | sed -e 's/beta /beta/' -e 's/ */~/g' -e 's/$/+/' ; tail -1 mozilla/config/milestone.txt | sed -e 's/pre/~cvs/') | tr -d '\n'
+MOZCLIENT_GETDATE = wget -O - -q --read-timeout=10 --user-agent='' --tries=3 'http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=mozilla%2Fnsprpub&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=1177522884&maxdate=1588258884&cvsroot=%2Fcvsroot' 2> /dev/null | grep "href='http://webtools" | head -1 | tr '<>' '@' | cut -d@ -f5 | tr -d ':-' | sed -e 's/&nbsp;/t/'
+MOZCLIENT_WANTMOZDIR = 1
+MOZCLIENT_DYNTAG_FILES = mozilla/client.mk mozilla/config/milestone.txt
+MOZCLIENT_DYNTAG = grep ^NSPR_CO_TAG mozilla/client.mk | awk '{ print $3 }'