freshplayerplugin

This commit is contained in:
aydemir
2015-11-04 13:31:35 +02:00
parent 1969390deb
commit 3ed2f72ad5
7 changed files with 80723 additions and 80615 deletions
@@ -0,0 +1,23 @@
#!/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 cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr")
def build():
cmaketools.make()
def install():
pisitools.insinto("/usr/share/freshplayerplugin/", "data/freshwrapper.conf.example")
pisitools.insinto("/usr/lib/mozilla/plugins/", "libfreshwrapper-*.so")
pisitools.dosed("%s/usr/share/freshplayerplugin/freshwrapper.conf.example" % get.installDIR(), "/opt/google/chrome", "/usr/lib/chromium-browser")
pisitools.dodoc("COPYING", "LICENSE")