gnubg new package
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env python
|
||||
#-*- coding:utf-8 -*-
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import libtools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
|
||||
|
||||
def setup():
|
||||
autotools.aclocal("-I m4")
|
||||
libtools.libtoolize("--force --copy")
|
||||
autotools.autoheader()
|
||||
autotools.automake("--add-missing --copy -Wno-portability")
|
||||
autotools.autoconf()
|
||||
autotools.rawConfigure("--prefix=/usr --enable-threads")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
# pisitools.dosym("/usr/share/pixmaps/gnubg-big.png","/usr/share/gnubg/pixmaps/gnubg-big.png")
|
||||
Reference in New Issue
Block a user