aboutsummaryrefslogtreecommitdiff
path: root/bigtop-packages/src/deb/hue
diff options
context:
space:
mode:
authorrvs <rvs@13f79535-47bb-0310-9956-ffa450edef68>2012-10-22 15:21:40 +0000
committerRoman Shaposhnik <rvs@cloudera.com>2012-11-02 08:39:24 -0700
commita3bc72115e21b3708f3202de2b29ce946d63f17a (patch)
tree18631c9cfdf250d294645fec1479fc9a01afeab0 /bigtop-packages/src/deb/hue
parenta893c8ec296d262a8dbdf444063fd9d528a0177a (diff)
BIGTOP-713. use newer debhelper and source format 3.0 (quilt) for Debian and Ubuntu packaging (James Page, Sean Mackrory, Anatoli Fomenko via rvs)
git-svn-id: https://svn.apache.org/repos/asf/bigtop/trunk@1400914 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'bigtop-packages/src/deb/hue')
-rw-r--r--bigtop-packages/src/deb/hue/control2
-rwxr-xr-xbigtop-packages/src/deb/hue/rules65
-rw-r--r--bigtop-packages/src/deb/hue/source/format1
3 files changed, 6 insertions, 62 deletions
diff --git a/bigtop-packages/src/deb/hue/control b/bigtop-packages/src/deb/hue/control
index afa6f4ae..4ea67fc9 100644
--- a/bigtop-packages/src/deb/hue/control
+++ b/bigtop-packages/src/deb/hue/control
@@ -17,7 +17,7 @@ Source: hue
Section: misc
Priority: extra
Maintainer: Apache Bigtopr <bigtop-dev@incubator.apache.org>
-Build-Depends: debhelper (>= 7), ant, python2.4-dev | python2.5-dev | python2.6-dev | python2.7-dev, libxml2-dev, libxslt1-dev, zlib1g-dev, libsqlite3-dev, libldap2-dev, libsasl2-dev, libmysqlclient-dev, make, python-setuptools
+Build-Depends: debhelper (>= 7.0.50~), ant, python2.4-dev | python2.5-dev | python2.6-dev | python2.7-dev, libxml2-dev, libxslt1-dev, zlib1g-dev, libsqlite3-dev, libldap2-dev, libsasl2-dev, libmysqlclient-dev, make, python-setuptools
Depends: libsasl2, libsqlite3, zlib1g, libxslt1, libxml2Standards-Version: 3.8.0
Homepage: http://github.com/cloudera/hue
diff --git a/bigtop-packages/src/deb/hue/rules b/bigtop-packages/src/deb/hue/rules
index c2da44e6..ff32be27 100755
--- a/bigtop-packages/src/deb/hue/rules
+++ b/bigtop-packages/src/deb/hue/rules
@@ -31,70 +31,13 @@ $(APPS:%=debian/hue-%.postinst): debian/hue-app.postinst.tpl
$(APPS:%=debian/hue-%.prerm): debian/hue-app.prerm.tpl
sed -e 's#@APP@#$(patsubst debian/hue-%.prerm,%,$@)#' < $< > $@
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- touch configure-stamp
+%:
+ dh $@
-
-build: build-stamp
-
-build-stamp: configure-stamp
- dh_testdir
+override_dh_auto_build:
bash -x debian/do-component-build -Dmaven.repo.local=${HOME}/.m2/repository
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp debian/substvars
- make clean
- dh_clean
-install: build $(APPS:%=debian/hue-%.postinst) $(APPS:%=debian/hue-%.prerm)
- dh_testdir
- dh_testroot
- dh_prep
- dh_installdirs
+override_dh_auto_install: build $(APPS:%=debian/hue-%.postinst) $(APPS:%=debian/hue-%.prerm)
bash -x debian/install_hue.sh --build-dir=${PWD} --prefix=${PWD}/debian/tmp
sed -e 's,^,build:,;' debian/tmp/usr/lib/hue/Makefile.buildvars \
| tr _ - >> debian/hue-common.substvars
- dh_install --sourcedir=debian/tmp --list-missing
-
-# Build architecture-independent files here.
-binary-indep: install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: install
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_installexamples
-# dh_install
-# dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_python
- dh_installinit --no-start --name=hue
-# dh_installcron
-# dh_installinfo
- dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
-# dh_perl
-# dh_makeshlibs
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/bigtop-packages/src/deb/hue/source/format b/bigtop-packages/src/deb/hue/source/format
new file mode 100644
index 00000000..163aaf8d
--- /dev/null
+++ b/bigtop-packages/src/deb/hue/source/format
@@ -0,0 +1 @@
+3.0 (quilt)