X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fpython-lzma;fp=lfs%2Fpython-lzma;h=f2f6aabe0b6db5a2401510a81aac9eca002fce37;hb=ce151b3ee6929fd430e47ba381539be6071b4ac7;hp=b05ba2dda5029279ed098868e3263b1653d26d78;hpb=b5135941c9aa3e98b9367edb52d1bf73abebae60;p=people%2Fteissler%2Fipfire-2.x.git diff --git a/lfs/python-lzma b/lfs/python-lzma index b05ba2dda..f2f6aabe0 100644 --- a/lfs/python-lzma +++ b/lfs/python-lzma @@ -78,5 +78,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && python setup.py install + # unzip the egg because it won't work without + cd /usr/lib/python2.7/site-packages && \ + unzip pyliblzma-$(VER)-py2.7-linux-i686.egg + rm -rf /usr/lib/python2.7/site-packages/pyliblzma-$(VER)-py2.7-linux-i686.egg + rm -rf /usr/lib/python2.7/site-packages/EGG-INFO @rm -rf $(DIR_APP) @$(POSTBUILD)