Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request apache#2 from baidarov/build
Browse files Browse the repository at this point in the history
[LOGBROKER-726] Fix debianization
  • Loading branch information
resetius committed Apr 23, 2015
2 parents 61c658c + bf8effb commit 7a96ecb
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 29 deletions.
2 changes: 1 addition & 1 deletion debian/compat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5
9
7 changes: 4 additions & 3 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Source: statbox-kafka
Section: misc
Priority: optional
Maintainer: Alexey Ozeritsky <[email protected]>
Vcs-Browser: https://github.yandex-team.ru/statbox/kafka
Expand All @@ -8,6 +9,6 @@ Standards-Version: 3.9.3

Package: statbox-kafka
Architecture: all
Depends: ${shlibs:Depends}, java7-runtime
Description: Apache Kafka with Statbox patches

Depends: ${misc:Depends}, java7-runtime
Description: Statbox Kafka
Apache Kafka with Statbox patches
29 changes: 8 additions & 21 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -1,25 +1,12 @@
#! /usr/bin/make -f

.PHONY: binary build clean
%:
dh $@

install:
dh_install --list-missing
dh_installinit -A --no-start --no-restart-on-upgrade
dh_installdeb
dh_makeshlibs -pstatbox-kafka
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
override_dh_auto_build:
gradle
./gradlew -PscalaVersion=2.10.4 clean releaseTarGz
tar xf ./core/build/distributions/kafka_2.10-0.8.2.1.tgz

binary: install

build: clean
dh_testdir
@set -e;\
gradle
./gradlew -PscalaVersion=2.10.4 jar

clean:
dh_clean
rm -rf __build
override_dh_installinit:
dh_installinit --name=statbox-kafka --noscripts
5 changes: 1 addition & 4 deletions debian/statbox-kafka.install
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
bin /usr/lib/kafka/
config /usr/lib/kafka/
core/build/libs /usr/lib/kafka/
core/build/dependant-libs-2.10.4 /usr/lib/kafka/
kafka_2.10-0.8.2.1/* /usr/lib/kafka
upstart-upgrade.sh /usr/share/statbox-kafka

0 comments on commit 7a96ecb

Please sign in to comment.