ports/contrib (3.6): mujs: initial commit, version 1.1.3
commit f3bbc69cb050ceae3730f5a3ffd07d66b1073716 Author: Tim Biermann <tbier@posteo.de> Date: Sat Sep 25 18:22:29 2021 +0200 mujs: initial commit, version 1.1.3 diff --git a/mujs/.footprint b/mujs/.footprint new file mode 100644 index 000000000..d12cdaa78 --- /dev/null +++ b/mujs/.footprint @@ -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 diff --git a/mujs/.signature b/mujs/.signature new file mode 100644 index 000000000..fdfa15120 --- /dev/null +++ b/mujs/.signature @@ -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 diff --git a/mujs/Pkgfile b/mujs/Pkgfile new file mode 100644 index 000000000..c0066eb74 --- /dev/null +++ b/mujs/Pkgfile @@ -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 +}
participants (1)
-
crux@crux.nu