2019-04-15 14:53:57 -05:00
|
|
|
pkgdirname != basename `git config remote.origin.url` | sed 's/.git$$//'
|
2017-06-19 16:33:59 -05:00
|
|
|
|
2022-08-29 00:10:10 -05:00
|
|
|
compile: c java bash php perl python cs
|
2019-05-10 16:21:14 -05:00
|
|
|
@echo Done
|
|
|
|
|
2022-08-31 16:11:12 -05:00
|
|
|
install: clean compile
|
2019-04-15 14:53:57 -05:00
|
|
|
mkdir -p ${pkgdir}/opt/aninix/${pkgdirname}/
|
2022-08-31 16:11:12 -05:00
|
|
|
install -o root -m 0644 ./HelloWorld* ${pkgdir}/opt/aninix/${pkgdirname}/
|
2017-06-19 16:33:59 -05:00
|
|
|
|
2018-11-05 15:35:32 -06:00
|
|
|
test: compile
|
|
|
|
python3 -m pytest
|
2017-06-19 16:33:59 -05:00
|
|
|
|
2019-05-10 16:21:14 -05:00
|
|
|
clean:
|
2022-05-17 23:52:04 -05:00
|
|
|
for i in `cat .gitignore`; do /bin/bash -c "rm -Rf $$i"; done
|
2018-11-05 15:35:32 -06:00
|
|
|
|
2022-08-29 00:10:10 -05:00
|
|
|
uninstall:
|
|
|
|
rm -Rf ${pkgdir}/opt/aninix/${pkgdirname}/
|
|
|
|
|
2018-11-05 15:35:32 -06:00
|
|
|
diff:
|
|
|
|
@echo Nothing to do.
|
|
|
|
|
|
|
|
reverse:
|
|
|
|
@echo Nothing to do.
|
|
|
|
|
|
|
|
checkperm:
|
|
|
|
@echo Nothing to do.
|
2017-06-19 16:33:59 -05:00
|
|
|
|
2019-04-15 15:58:35 -05:00
|
|
|
c: HelloWorld.c /usr/bin/gcc
|
|
|
|
gcc -o HelloWorld HelloWorld.c
|
2016-08-04 12:13:12 -05:00
|
|
|
|
2022-05-17 23:52:04 -05:00
|
|
|
java: HelloWorld.java /usr/lib/jvm/java-18-openjdk/bin/javac /usr/lib/jvm/java-18-openjdk/bin/java
|
|
|
|
/usr/lib/jvm/java-18-openjdk/bin/javac HelloWorld.java
|
2016-08-04 12:13:12 -05:00
|
|
|
|
2019-04-15 15:58:35 -05:00
|
|
|
bash: HelloWorld.bash /usr/bin/bash
|
|
|
|
#bash HelloWorld.bash
|
2016-08-04 12:13:12 -05:00
|
|
|
|
2019-04-15 15:58:35 -05:00
|
|
|
php: HelloWorld.php /usr/bin/php
|
|
|
|
#php HelloWorld.php
|
2016-08-04 12:13:12 -05:00
|
|
|
|
2019-04-15 15:58:35 -05:00
|
|
|
perl: HelloWorld.pl /usr/bin/perl
|
|
|
|
#perl ./HelloWorld.pl
|
2016-08-04 12:13:12 -05:00
|
|
|
|
2019-04-15 15:58:35 -05:00
|
|
|
python: HelloWorld.py /usr/bin/python3
|
|
|
|
#python3 ./HelloWorld.py
|
2017-06-19 16:33:59 -05:00
|
|
|
|
2019-04-15 14:53:57 -05:00
|
|
|
cs: HelloWorld.cs /usr/bin/mono /usr/bin/mcs
|
|
|
|
mcs HelloWorld.cs
|