Skip to content
Snippets Groups Projects
Commit abed7617 authored by Graeme Stewart's avatar Graeme Stewart
Browse files

External/AtlasLzo deleted from master

Former-commit-id: 82a19bf0c72290e0e305a3aa2be99c9aecb9e905
parent 2bb2abc0
No related branches found
No related tags found
Loading
#
#
from PyCmt.pkgbuild.cmmi import *
pkg_name= "lzo"
pkg_ver = "2.0.3"
def configure(self):
sh = self.sh
msg = self.msg
env = self.env
msg.debug('configure...')
sh.chdir("%(pkg_build_dir)s/%(pkg_name)s-%(pkg_ver)s" % env)
cmd = [
"./configure",
"--prefix=%(pkg_install_dir)s" % env,
'--disable-static',
'--enable-shared',
'--enable-encoding',
'--with-pic',
]
import sys
if sys.platform == "darwin":
cmd.append('--disable-asm')
self.run(cmd)
cmmi_orig_build = build
def build(self):
sh = self.sh
msg = self.msg
env = self.env
import sys
if sys.platform == "darwin":
env['LDFLAGS'] += ' '+self.cmt(macro_value='shlibflags')
return cmmi_orig_build(self)
## Automatically generated CMT requirements file
package AtlasLzo
author Sebastien Binet <binet@cern.ch>
## For Athena policies: it has to be the first use statement
use AtlasPolicy AtlasPolicy-*
use PyCmt PyCmt-* Tools -no_auto_imports
macro_append AtlasLzo_linkopts " -llzo2"
apply_pattern include_path extras=$(CMTINSTALLAREA)/$(CMTCONFIG)/include
private
apply_pattern make_pkgbuild \
name=lzo \
file=pkgbuild_lzo.py
end_private
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment