luit package: use autotools. (#11962)
This commit is contained in:
parent
e3299e6923
commit
6a731b4d8f
@ -6,7 +6,7 @@
|
|||||||
from spack import *
|
from spack import *
|
||||||
|
|
||||||
|
|
||||||
class Luit(Package):
|
class Luit(AutotoolsPackage):
|
||||||
"""Luit is a filter that can be run between an arbitrary application and
|
"""Luit is a filter that can be run between an arbitrary application and
|
||||||
a UTF-8 terminal emulator such as xterm. It will convert application
|
a UTF-8 terminal emulator such as xterm. It will convert application
|
||||||
output from the locale's encoding into UTF-8, and convert terminal
|
output from the locale's encoding into UTF-8, and convert terminal
|
||||||
@ -23,10 +23,6 @@ class Luit(Package):
|
|||||||
depends_on('pkgconfig', type='build')
|
depends_on('pkgconfig', type='build')
|
||||||
depends_on('util-macros', type='build')
|
depends_on('util-macros', type='build')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
# see http://www.linuxquestions.org/questions/linux-from-scratch-13/can't-compile-luit-xorg-applications-4175476308/ # noqa
|
||||||
configure('--prefix={0}'.format(prefix),
|
def configure_args(self):
|
||||||
# see http://www.linuxquestions.org/questions/linux-from-scratch-13/can't-compile-luit-xorg-applications-4175476308/ # noqa
|
return ['CFLAGS=-U_XOPEN_SOURCE -D_XOPEN_SOURCE=600']
|
||||||
'CFLAGS=-U_XOPEN_SOURCE -D_XOPEN_SOURCE=600')
|
|
||||||
|
|
||||||
make()
|
|
||||||
make('install')
|
|
||||||
|
Loading…
Reference in New Issue
Block a user