maemo: Fixed remake of strongswan package.
This commit is contained in:
@@ -5,22 +5,23 @@ TARGETVERSION:=4.5.0+$(VERSION)
|
|||||||
ORIGNAME:=strongswan-$(VERSION)
|
ORIGNAME:=strongswan-$(VERSION)
|
||||||
ORIGSRC:=$(BUILD)/strongswan_$(TARGETVERSION).orig.tar.gz
|
ORIGSRC:=$(BUILD)/strongswan_$(TARGETVERSION).orig.tar.gz
|
||||||
|
|
||||||
package: $(ORIGSRC) prepare
|
package: prepare
|
||||||
cd $(BUILD)/$(ORIGNAME) && \
|
cd $(BUILD)/$(ORIGNAME) && \
|
||||||
dpkg-buildpackage -rfakeroot -sa > /dev/null
|
dpkg-buildpackage -rfakeroot -sa > /dev/null
|
||||||
|
|
||||||
source: $(ORIGSRC) prepare
|
source: prepare
|
||||||
cd $(BUILD)/$(ORIGNAME) && \
|
cd $(BUILD)/$(ORIGNAME) && \
|
||||||
dpkg-buildpackage -rfakeroot -sa -S > /dev/null
|
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
|
debchange -b -v $(TARGETVERSION)-1
|
||||||
cp -R debian $(BUILD)/$(ORIGNAME)
|
cp -R debian $(BUILD)/$(ORIGNAME)
|
||||||
|
|
||||||
$(ORIGSRC): $(SOURCE)/Makefile | $(BUILD)
|
$(ORIGSRC): $(SOURCE)/Makefile | $(BUILD)
|
||||||
make -j -C $(SOURCE) dist-gzip > /dev/null
|
make -j -C $(SOURCE) dist-gzip > /dev/null
|
||||||
mv $(SOURCE)/$(ORIGNAME).tar.gz $(ORIGSRC)
|
mv $(SOURCE)/$(ORIGNAME).tar.gz $(ORIGSRC)
|
||||||
tar -zx -C $(BUILD) -f $(ORIGSRC)
|
|
||||||
|
|
||||||
$(SOURCE)/Makefile: $(SOURCE)/configure
|
$(SOURCE)/Makefile: $(SOURCE)/configure
|
||||||
cd $(SOURCE) && ./configure --disable-gmp > /dev/null
|
cd $(SOURCE) && ./configure --disable-gmp > /dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user