aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-02-08 15:04:06 +0100
committerTobias Brunner <tobias@strongswan.org>2011-02-08 15:17:36 +0100
commitf1e98699c6036f5704736afba196230d24b1aaff (patch)
tree99ac8291e075aed4f61e856910b620d7b6c183d5 /packages
parentcaf20266e0cc67cc0ee24670d6fafe2f5fa45d47 (diff)
downloadstrongswan-f1e98699c6036f5704736afba196230d24b1aaff.tar.bz2
strongswan-f1e98699c6036f5704736afba196230d24b1aaff.tar.xz
maemo: Fixed remake of strongswan package.
Diffstat (limited to 'packages')
-rw-r--r--packages/maemo-strongswan/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/maemo-strongswan/Makefile b/packages/maemo-strongswan/Makefile
index d913eb402..73ee5b758 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