filezilla:add main

This commit is contained in:
alihanozturk
2016-01-26 20:39:16 +02:00
parent f3eb0f8a1f
commit 6cba9973dc
4 changed files with 161 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
#shelltools.export("WXRC", "/usr/bin/wxrc")
#shelltools.export("LDFLAGS", "%s -lpthread" % get.LDFLAGS())
#pisitools.dosed("data/filezilla.desktop", "Icon=filezilla", "Icon=/usr/share/pixmaps/filezilla.png")
autotools.configure("--disable-static \
--disable-manualupdatecheck \
--disable-autoupdatecheck \
--with-pugixml=builtin \
--prefix=/usr ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# move fzdefaults.xml.example to /usr/share/filezilla
pisitools.domove("/usr/share/filezilla/docs/fzdefaults.xml.example", "/usr/share/filezilla")
pisitools.removeDir("/usr/share/filezilla/docs")
pisitools.dodoc("ChangeLog", "README", "AUTHORS")