[Pkg-javascript-commits] [json-js] 24/85: Use CDBS snippet upstream-tarball for get-orig-source target and more.
Jonas Smedegaard
dr at jones.dk
Mon Mar 14 10:39:15 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository json-js.
commit 4ff19a6660692c0c05efa9163b8cfa986950156b
Author: Jonas Smedegaard <dr at jones.dk>
Date: Sun Dec 25 12:22:29 2011 +0700
Use CDBS snippet upstream-tarball for get-orig-source target and more.
---
debian/rules | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/debian/rules b/debian/rules
index 773d93c..c84ac83 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+-include /usr/share/cdbs/1/rules/upstream-tarball.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/rules/debhelper.mk
@@ -24,10 +25,17 @@ libdirname = $(libname)
libpkgname = libjs-$(libname)
# suppress optional build-dependencies
+CDBS_BUILD_DEPENDS_rules_upstream-tarball =
CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
CDBS_BUILD_DEPENDS += , uglifyjs
+DEB_UPSTREAM_URL = http://githubredir.debian.net/github/douglascrockford/JSON-js
+# FIXME: when tagged upstream change to v$(DEB_UPSTREAM_TARBALL_VERSION)
+DEB_UPSTREAM_TARBALL_BASENAME = 0~master
+DEB_UPSTREAM_WGET_OPTS += --no-check-certificate
+DEB_UPSTREAM_TARBALL_MD5 = 2d87e6fbda361e86bdb0c420fc4cb555
+
js-basedir =
js-stems = $(basename $(wildcard $(js-basedir)*.js))
js-min = $(js-stems:$(js-basedir)%=debian/%.min.js)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/json-js.git
More information about the Pkg-javascript-commits
mailing list