Proje Gitea'ya taşındı (Temiz başlangıç)

This commit is contained in:
Erkan IŞIK
2026-06-27 23:27:13 +03:00
commit c077995f65
683 changed files with 315285 additions and 0 deletions
@@ -0,0 +1,27 @@
#!/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 get, pisitools, shelltools
#NoStrip = ["/usr"]
IgnoreAutodep = True
Version = get.srcVERSION()
def setup():
shelltools.system("pwd")
shelltools.system("ar xf dcpt510wpdrv-%s-0.i386.deb" % get.srcVERSION())
shelltools.system("tar xf data.tar.gz")
def install():
pisitools.dodir("/usr/share/cups/model")
pisitools.dodir("/usr/lib/cups/filter")
pisitools.insinto("/usr/share/cups/model","%s/opt/brother/Printers/dcpt510w/cupswrapper/brother_dcpt510w_printer_en.ppd" % get.workDIR())
pisitools.insinto("/usr/lib/cups/filter","%s/opt/brother/Printers/dcpt510w/cupswrapper/brother_lpdwrapper_dcpt510w" % get.workDIR())
pisitools.insinto("/", "usr")
pisitools.insinto("/", "opt")
shelltools.chmod("%s/usr/lib/cups/filter/brother_lpdwrapper_dcpt510w" % get.installDIR(), 4711)