upx:first pisi release

This commit is contained in:
ibrahimkaraguzel
2016-04-03 21:17:30 +03:00
parent 45b2c2046a
commit 9ef2368af7
3 changed files with 77 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
shelltools.export("UPX_LZMA_VERSION", "0x465")
shelltools.export("UPX_LZMADIR", get.workDIR())
def build():
autotools.make("all")
def install():
pisitools.insinto("/usr/bin", "src/upx.out", "upx")
pisitools.insinto("/usr/share/man/man1", "doc/upx.1")
pisitools.dodoc("BUGS", "COPYING", "LICENSE", "NEWS", "PROJECTS", "README*", "THANKS" )