diff options
author | Roman Shaposhnik <rvs@cloudera.com> | 2012-11-28 21:35:16 -0800 |
---|---|---|
committer | Roman Shaposhnik <rvs@cloudera.com> | 2012-12-04 13:59:45 -0800 |
commit | 57fbb284954ee81f9d6a381c159cf415867dffab (patch) | |
tree | ceac91fa841ef6d7c760f582b4184ddcf34dacb2 /bigtop-packages/src/deb/crunch | |
parent | aa354502af1c930d60f15abc986bf0ed4336be5e (diff) |
BIGTOP-612. Add Crunch to Bigtop
Diffstat (limited to 'bigtop-packages/src/deb/crunch')
-rw-r--r-- | bigtop-packages/src/deb/crunch/changelog | 1 | ||||
-rw-r--r-- | bigtop-packages/src/deb/crunch/compat | 1 | ||||
-rw-r--r-- | bigtop-packages/src/deb/crunch/control | 36 | ||||
-rw-r--r-- | bigtop-packages/src/deb/crunch/copyright | 15 | ||||
-rw-r--r-- | bigtop-packages/src/deb/crunch/crunch-doc.install | 1 | ||||
-rw-r--r-- | bigtop-packages/src/deb/crunch/crunch.install | 1 | ||||
-rw-r--r-- | bigtop-packages/src/deb/crunch/rules | 41 | ||||
-rw-r--r-- | bigtop-packages/src/deb/crunch/source/format | 1 |
8 files changed, 97 insertions, 0 deletions
diff --git a/bigtop-packages/src/deb/crunch/changelog b/bigtop-packages/src/deb/crunch/changelog new file mode 100644 index 00000000..547ed021 --- /dev/null +++ b/bigtop-packages/src/deb/crunch/changelog @@ -0,0 +1 @@ +--- This is auto-generated diff --git a/bigtop-packages/src/deb/crunch/compat b/bigtop-packages/src/deb/crunch/compat new file mode 100644 index 00000000..7f8f011e --- /dev/null +++ b/bigtop-packages/src/deb/crunch/compat @@ -0,0 +1 @@ +7 diff --git a/bigtop-packages/src/deb/crunch/control b/bigtop-packages/src/deb/crunch/control new file mode 100644 index 00000000..a05f621d --- /dev/null +++ b/bigtop-packages/src/deb/crunch/control @@ -0,0 +1,36 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +Source: crunch +Section: misc +Priority: extra +Maintainer: Bigtop <bigtop-dev@incubator.apache.org> +Build-Depends: debhelper (>= 7.0.50~) +Standards-Version: 3.8.0 +Homepage: http://incubator.apache.org/crunch/ + +Package: crunch +Architecture: all +Description: Simple and Efficient MapReduce Pipelines. + Apache Crunch (incubating) is a Java library for writing, testing, and running + MapReduce pipelines, based on Google's FlumeJava. Its goal is to make + pipelines that are composed of many user-defined functions simple to write, + easy to test, and efficient to run. + +Package: crunch-doc +Architecture: all +Description: Apache Crunch (incubating) documentation + Apache Crunch (incubating) documentation + diff --git a/bigtop-packages/src/deb/crunch/copyright b/bigtop-packages/src/deb/crunch/copyright new file mode 100644 index 00000000..be638e0d --- /dev/null +++ b/bigtop-packages/src/deb/crunch/copyright @@ -0,0 +1,15 @@ +Format: http://dep.debian.net/deps/dep5 +Source: http://incubator.apache.org/crunch/ +Upstream-Name: Apache Crunch (incubating) + +Files: * +Copyright: 2012, The Apache Software Foundation +License: Apache-2.0 + +Files debian/* +Copyright: 2011, The Apache Software Foundation +License: Apache-2.0 + +License: Apache-2.0 + On Debian systems, the complete text of the Apache 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/bigtop-packages/src/deb/crunch/crunch-doc.install b/bigtop-packages/src/deb/crunch/crunch-doc.install new file mode 100644 index 00000000..77b99dd9 --- /dev/null +++ b/bigtop-packages/src/deb/crunch/crunch-doc.install @@ -0,0 +1 @@ +/usr/share/doc/crunch diff --git a/bigtop-packages/src/deb/crunch/crunch.install b/bigtop-packages/src/deb/crunch/crunch.install new file mode 100644 index 00000000..a955cc93 --- /dev/null +++ b/bigtop-packages/src/deb/crunch/crunch.install @@ -0,0 +1 @@ +/usr/lib/crunch diff --git a/bigtop-packages/src/deb/crunch/rules b/bigtop-packages/src/deb/crunch/rules new file mode 100644 index 00000000..d3f973fa --- /dev/null +++ b/bigtop-packages/src/deb/crunch/rules @@ -0,0 +1,41 @@ +#!/usr/bin/make -f +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + + +%: + dh $@ + +override_dh_auto_build: + # we'll just use the build from the tarball. + # I could not find a way to add debian/ to RAT exclude list through cmd line + # or to unbind rat:check goal + # So I am redirecting its attention with a decoy + mkdir -p debian/tmp/bigtop-empty + bash debian/do-component-build -Drat.basedir=$${PWD}/debian/tmp/bigtop-empty -Dmaven.repo.local=${HOME}/.m2/repository + +override_dh_auto_install: + sh -x debian/install_crunch.sh \ + --build-dir=$${PWD}/build \ + --prefix=debian/tmp diff --git a/bigtop-packages/src/deb/crunch/source/format b/bigtop-packages/src/deb/crunch/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/bigtop-packages/src/deb/crunch/source/format @@ -0,0 +1 @@ +3.0 (quilt) |