summaryrefslogtreecommitdiff
path: root/src/mozclient/nspr.conf
blob: 070d6c03dc323a676824dd04c5a456a5243e7de3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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_VCS_LOC    = :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot
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 }'