splix:add pisi2.0

This commit is contained in:
alihanozturk
2016-01-11 22:00:56 +02:00
parent fb9f3f40e4
commit 12a4a08063
6 changed files with 202 additions and 0 deletions
+30
View File
@@ -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")