first commit
This commit is contained in:
3
src/duktape/.gitignore
vendored
Normal file
3
src/duktape/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/duktape/changes.md
Normal file
2
src/duktape/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 2.7.0
|
||||
First version
|
17
src/duktape/pkg.sh
Normal file
17
src/duktape/pkg.sh
Normal 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
|
||||
}
|
Reference in New Issue
Block a user