aspell:moved into main for pisi 2.0

This commit is contained in:
2015-08-10 09:17:12 +03:00
parent dfd73def7e
commit a1549f371d
8 changed files with 334 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.autoreconf()
autotools.configure("--disable-static \
--sysconfdir=/etc/aspell \
--enable-docdir=/usr/share/doc/%s" % get.srcNAME())
pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# install ispell/spell compatibility scripts
pisitools.insinto("/usr/bin","scripts/ispell","ispell-aspell")
pisitools.insinto("/usr/bin","scripts/spell", "spell-aspell")
pisitools.dodoc("README*", "TODO")