first commit

This commit is contained in:
ngn
2024-08-11 02:17:03 +03:00
commit ee34792885
1404 changed files with 13564 additions and 0 deletions

3
src/duktape/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/duktape/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 2.7.0
First version

17
src/duktape/pkg.sh Normal file
View File

@ -0,0 +1,17 @@
NAME="duktape"
DESC="Embeddable Javascript engine"
VERSION="2.7.0"
FILES=("https://duktape.org/duktape-$VERSION.tar.xz")
HASHES=("b3200b02ab80125b694bae887d7c1ca6")
DEPENDS=()
PACKAGE() {
tar xf $NAME-$VERSION.tar.xz
cd $NAME-$VERSION
sed -i 's/-Os/-O2/' Makefile.sharedlibrary
make -f Makefile.sharedlibrary INSTALL_PREFIX=/usr
make -f Makefile.sharedlibrary DESTDIR="$ROOTDIR" INSTALL_PREFIX=/usr install
cd .. && rm -r $NAME-$VERSION
}