123456789101112131415161718192021222324252627282930313233343536373839 |
- from pisi.actionsapi import shelltools
- from pisi.actionsapi import autotools
- from pisi.actionsapi import pisitools
- from pisi.actionsapi import get
- def setup():
- shelltools.export("OPTIMIZER", "%s" % get.CFLAGS())
- shelltools.export("DEBUG", "-DNDEBUG")
- autotools.configure("--enable-readline=yes \
- --enable-blkid=yes")
- def build():
- autotools.make()
- def install():
- autotools.rawInstall("DIST_ROOT=%s" % get.installDIR())
- autotools.rawInstall("DIST_ROOT=%s" % get.installDIR(), "install-dev")
-
-
-
-
-
-
-
-
-
-
- shelltools.chmod("%s/lib/libhandle.so.*.*.*" % get.installDIR(), 0755)
|