slang moved to programming.library nano moved to main
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
#!/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 shelltools
|
||||
from pisi.actionsapi import get
|
||||
import os
|
||||
|
||||
slshdoc = "/%s/slsh" % get.docDIR()
|
||||
slangdoc = "/%s/slang/" % get.docDIR()
|
||||
|
||||
def setup():
|
||||
autotools.configure("--prefix=/usr \
|
||||
--without-onig \
|
||||
--sysconfdir=/etc")
|
||||
|
||||
def build():
|
||||
autotools.make("-j1 install_doc_dir=/%s/%s all" % (get.docDIR(), get.installDIR()))
|
||||
|
||||
def check():
|
||||
#autotools.make("check")
|
||||
pass
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s INST_LIB_DIR=%s/usr/lib" % (get.installDIR(),get.installDIR()))
|
||||
|
||||
pisitools.domove("%s/*" % slshdoc, "%s/" % slangdoc)
|
||||
pisitools.domove("%s/v2/*" % slangdoc, "%s/" % slangdoc)
|
||||
pisitools.removeDir("%s/v2" % slangdoc)
|
||||
pisitools.removeDir("%s" % slshdoc)
|
||||
|
||||
Reference in New Issue
Block a user