wok view mujs/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="mujs"
4 VERSION="1.3.5"
5 CATEGORY="development"
6 TAGS="javascript"
7 SHORT_DESC="An embeddable Javascript interpreter in C."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="ISC"
10 WEB_SITE="https://mujs.com/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://mujs.com/downloads/$TARBALL"
15 DEPENDS="libtinfo readline"
16 BUILD_DEPENDS="libtinfo readline-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's|READLINE_LIBS = -lreadline|READLINE_LIBS = -lreadline -ltinfo|' \
23 Makefile &&
25 make release \
26 prefix=/usr &&
27 make install-shared \
28 prefix=/usr \
29 DESTDIR="$DESTDIR"
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/licenses
37 cp $src/COPYING $fs/usr/share/licenses/LICENCE.mujs
38 cook_copy_folders bin
39 cook_copy_files *.so*
40 }