30 lines
898 B
Python
30 lines
898 B
Python
#!/usr/bin/python
|
|
# -*- coding: utf-8 -*-
|
|
#
|
|
# Licensed under the GNU General Public License, version 2
|
|
# See the file http://www.gnu.org/copyleft/gpl.txt
|
|
|
|
from pisi.actionsapi import autotools
|
|
from pisi.actionsapi import pisitools
|
|
|
|
def setup():
|
|
autotools.configure("--prefix=/usr \
|
|
--disable-static \
|
|
--enable-xrandr \
|
|
--enable-xcursor \
|
|
--enable-libnotify \
|
|
--enable-libxklavier \
|
|
--enable-pluggable-dialogs \
|
|
--enable-sound-settings \
|
|
--disable-debug")
|
|
|
|
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
|
|
|
def build():
|
|
autotools.make()
|
|
|
|
def install():
|
|
autotools.install()
|
|
|
|
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README", "TODO")
|