mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 04:26:28 +02:00
Python 3.9.1 Package
This commit is contained in:
parent
d57b1f0fd4
commit
e2c8427a7a
3 changed files with 22 additions and 7 deletions
|
@ -5,10 +5,10 @@ LANG_DEPS=$(or ${DEPS})
|
|||
LANG_BINARY_FILES=$(or ${BINARY_FILES},)
|
||||
|
||||
${LANG_NAME}-${LANG_VERSION}.pkg.tar.gz: pkg-info.json package.squashfs
|
||||
tar czvf $@ $*
|
||||
tar czvf $@ $?
|
||||
|
||||
package.squashfs: ${LANG_BINARY_FILES}
|
||||
mksquashfs $* $@
|
||||
mksquashfs $? $@
|
||||
|
||||
%.json: %.jq
|
||||
jq '$(shell tr '\n' '|' < $<).' <<< "{}" > $@
|
||||
|
@ -20,3 +20,7 @@ pkg-info.jq:
|
|||
echo '.dependencies={}' >> pkg-info.jq
|
||||
$(foreach dep, ${LANG_DEPS}, echo '.dependencies.$(word 1,$(subst =, ,${dep}))="$(word 2,$(subst =, ,${dep}))"' >> pkg-info.jq)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf $(filter-out Makefile, $(wildcard *))
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue