splix:add pisi2.0
This commit is contained in:
Executable
+30
@@ -0,0 +1,30 @@
|
||||
#!/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 autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "splix"
|
||||
|
||||
def build():
|
||||
shelltools.export("OS_CFLAGS", get.CFLAGS())
|
||||
shelltools.export("OS_LDFLAGS", get.LDFLAGS())
|
||||
shelltools.export("OS_CXXFLAGS", "%s -fno-strict-aliasing" % get.CXXFLAGS())
|
||||
|
||||
shelltools.makedirs("ppd")
|
||||
autotools.make("-C ppd")
|
||||
|
||||
autotools.make("V=1")
|
||||
|
||||
def install():
|
||||
autotools.install("DESTDIR=%s CUPSPPD=/usr/share/cups/model/splix" % get.installDIR())
|
||||
|
||||
# Install color profiles
|
||||
pisitools.insinto("/usr/share/cups/model/samsung/cms", "cms/*")
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README", "THANKS", "TODO")
|
||||
Reference in New Issue
Block a user