1*58c70741SJim Jagielski#************************************************************** 2*58c70741SJim Jagielski# 3*58c70741SJim Jagielski# Licensed to the Apache Software Foundation (ASF) under one 4*58c70741SJim Jagielski# or more contributor license agreements. See the NOTICE file 5*58c70741SJim Jagielski# distributed with this work for additional information 6*58c70741SJim Jagielski# regarding copyright ownership. The ASF licenses this file 7*58c70741SJim Jagielski# to you under the Apache License, Version 2.0 (the 8*58c70741SJim Jagielski# "License"); you may not use this file except in compliance 9*58c70741SJim Jagielski# with the License. You may obtain a copy of the License at 10*58c70741SJim Jagielski# 11*58c70741SJim Jagielski# http://www.apache.org/licenses/LICENSE-2.0 12*58c70741SJim Jagielski# 13*58c70741SJim Jagielski# Unless required by applicable law or agreed to in writing, 14*58c70741SJim Jagielski# software distributed under the License is distributed on an 15*58c70741SJim Jagielski# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*58c70741SJim Jagielski# KIND, either express or implied. See the License for the 17*58c70741SJim Jagielski# specific language governing permissions and limitations 18*58c70741SJim Jagielski# under the License. 19*58c70741SJim Jagielski# 20*58c70741SJim Jagielski#************************************************************** 21*58c70741SJim Jagielski 22*58c70741SJim Jagielskiinclude $(SRCDIR)/python/pyversion.mk 23*58c70741SJim Jagielski 24*58c70741SJim Jagielski$(eval $(call gb_Package_Package,pyuno_python_sh,$(WORKDIR)/CustomTarget/pyuno/zipcore)) 25*58c70741SJim Jagielski 26*58c70741SJim Jagielski$(eval $(call gb_Package_add_file,pyuno_python_sh,bin/pyuno/python,python.sh)) 27*58c70741SJim Jagielski 28*58c70741SJim Jagielski$(WORKDIR)/CustomTarget/pyuno/zipcore/python.sh : $(SRCDIR)/pyuno/zipcore/python.sh 29*58c70741SJim Jagielski mkdir -p $(dir $@) && \ 30*58c70741SJim Jagielski sed 's/%%PYVERSION%%/$(PYVERSION)/g' < $< > $@ && \ 31*58c70741SJim Jagielski chmod +x $@ 32*58c70741SJim Jagielski 33*58c70741SJim Jagielski 34