123456789101112131415161718192021222324252627282930313233 |
- #!/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 shelltools
- from pisi.actionsapi import pisitools
- from pisi.actionsapi import get
- import os
- del(os.environ["JOBS"])
- def setup():
- shelltools.system("./waf configure \
- --prefix=/usr \
- --libdir=/usr/lib \
- --firewire \
- --alsa ")
- def build():
- shelltools.system("./waf build -v")
- def install():
- shelltools.system("./waf --destdir=%s install" % get.installDIR())
- # be compatible with the former jackaudio
- pisitools.rename("/usr/bin/jack_rec", "jackrec")
- shelltools.chmod("%s/usr/lib/jack/*.so*" % get.installDIR(), 0755)
- pisitools.dodoc("ChangeLog", "README*", "TODO")
|