mujs: initial commit, version 1.1.3

This commit is contained in:
Tim Biermann 2021-09-25 18:22:29 +02:00
parent 27274f2865
commit f3bbc69cb0
3 changed files with 32 additions and 0 deletions

10
mujs/.footprint Normal file
View File

@ -0,0 +1,10 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/mujs
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/mujs.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libmujs.a
-rwxr-xr-x root/root usr/lib/libmujs.so
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/mujs.pc

5
mujs/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF316/kejKqQQG9KpH/+m8O0ZvW6ey6zqyrkIg12t+SDFsfUyxnO+qojHa+T/iJeXX79No38VGf++Irjd5cylA9go=
SHA256 (Pkgfile) = 4cc09246c58d86d699c1b52466d1a00a53d0c17fb5d5dee12fcf32e4294f81c6
SHA256 (.footprint) = 7d8b767807caf9e14fa07fab3be53eb2a8d919ff70efbec372fcf0367fb18277
SHA256 (mujs-1.1.3.tar.xz) = 4d24e9509a9e6bd23d7ca161d0a820be697e7e6143d9a571fad7541b221c20a6

17
mujs/Pkgfile Normal file
View File

@ -0,0 +1,17 @@
# Description: Lightweight Javascript interpreter
# URL: https://mujs.com
# Maintainer: Tim Biermann, tbier at posteo dot de
name=mujs
version=1.1.3
release=1
source=(https://mujs.com/downloads/$name-$version.tar.xz)
build() {
cd $name-$version
make CFLAGS="-std=c99 -O2 -pipe -march=x86-64" release
make prefix=/usr DESTDIR=$PKG install-static install-shared
sed -i -e "s/^Version:.*/Version: $version/" $PKG/usr/lib/pkgconfig/$name.pc
}