mupdf: new package for cups-filters 1.14.1

This commit is contained in:
suvari
2017-07-13 19:07:27 +03:00
parent 6fcb411229
commit 7f811a44cb
7 changed files with 317 additions and 68 deletions
+23
View File
@@ -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/copyleft/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def build():
autotools.make("prefix=/usr")
# remove bundled packages, use our system libraries
shelltools.system("rm -rf thirdparty/{curl,freetype,glfw,harfbuzz,jbig2dec,jpeg,openjpeg,zlib}")
def install():
autotools.rawInstall("DESTDIR=%s prefix=/usr" % get.installDIR())
pisitools.remove("/usr/lib/*.a")
pisitools.dodoc("README", "COPYING")