btrfs-progs v.bump

This commit is contained in:
Ertuğrul Erata
2015-07-20 19:44:09 +03:00
parent be40f2ab76
commit a9fd5b92b7
10 changed files with 378 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
shelltools.system("./autogen.sh")
autotools.configure()
def build():
autotools.make("CC=%s" % get.CC())
#autotools.make("V=1 CC=%s CFLAGS=\"%s\"" % (get.CC(), get.CFLAGS()))
#autotools.make("V=1 CC=%s CFLAGS=\"%s\" btrfs-select-super" % (get.CC(), get.CFLAGS()))
def install():
autotools.rawInstall("prefix=/usr DESTDIR=%s" % get.installDIR())
pisitools.remove("/usr/lib/*.a")
pisitools.insinto("/usr/bin", "bcp", "btrfs-bcp")
pisitools.insinto("/usr/bin", "show-blocks", "btrfs-show-blocks")
pisitools.dodoc("COPYING")