Created
January 19, 2018 22:44
-
-
Save steinarb/5b0b6d771e2fae3873abac15c21a4f82 to your computer and use it in GitHub Desktop.
karaf debian rules file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/make -f | |
DISTRIBUTION = $(shell lsb_release -sr) | |
VERSION = 4.1.4 | |
PACKAGEVERSION = $(VERSION)-0~$(DISTRIBUTION)0 | |
TARBALL = apache-karaf-$(VERSION)-src.tar.gz | |
URL = http://apache.uib.no/karaf/$(VERSION)/$(TARBALL) | |
SRC=unpacked-src | |
%: | |
dh $@ | |
override_dh_auto_clean: | |
override_dh_auto_test: | |
override_dh_auto_build: | |
override_dh_auto_install: | |
wget -N --progress=dot:mega $(URL) | |
mkdir -p $(SRC) | |
(cd $(SRC); tar --strip-components=1 -xf ../$(TARBALL) ) | |
(cd $(SRC); mvn clean install -DskipTests=true ) | |
override_dh_gencontrol: | |
dh_gencontrol -- -v$(PACKAGEVERSION) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment