From: Tobias Brunner Date: Tue, 8 Feb 2011 14:04:06 +0000 (+0100) Subject: maemo: Fixed remake of strongswan package. X-Git-Tag: 4.5.1~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1e98699c6036f5704736afba196230d24b1aaff;p=thirdparty%2Fstrongswan.git maemo: Fixed remake of strongswan package. --- diff --git a/packages/maemo-strongswan/Makefile b/packages/maemo-strongswan/Makefile index d913eb4024..73ee5b758b 100644 --- a/packages/maemo-strongswan/Makefile +++ b/packages/maemo-strongswan/Makefile @@ -5,22 +5,23 @@ TARGETVERSION:=4.5.0+$(VERSION) ORIGNAME:=strongswan-$(VERSION) ORIGSRC:=$(BUILD)/strongswan_$(TARGETVERSION).orig.tar.gz -package: $(ORIGSRC) prepare +package: prepare cd $(BUILD)/$(ORIGNAME) && \ dpkg-buildpackage -rfakeroot -sa > /dev/null -source: $(ORIGSRC) prepare +source: prepare cd $(BUILD)/$(ORIGNAME) && \ dpkg-buildpackage -rfakeroot -sa -S > /dev/null -prepare: +prepare: $(ORIGSRC) + rm -Rf $(BUILD)/$(ORIGNAME) + tar -zx -C $(BUILD) -f $(ORIGSRC) debchange -b -v $(TARGETVERSION)-1 cp -R debian $(BUILD)/$(ORIGNAME) $(ORIGSRC): $(SOURCE)/Makefile | $(BUILD) make -j -C $(SOURCE) dist-gzip > /dev/null mv $(SOURCE)/$(ORIGNAME).tar.gz $(ORIGSRC) - tar -zx -C $(BUILD) -f $(ORIGSRC) $(SOURCE)/Makefile: $(SOURCE)/configure cd $(SOURCE) && ./configure --disable-gmp > /dev/null