wok rev 25772

created recipes for mujs and mujs-dev
author Hans-G?nter Theisgen
date Wed Sep 11 07:47:41 2024 +0100 (3 months ago)
parents 9e150d186e6b
children cc893214701f
files mujs-dev/receipt mujs/description.txt mujs/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mujs-dev/receipt	Wed Sep 11 07:47:41 2024 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mujs-dev"
     1.7 +VERSION="1.3.5"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="An embeddable Javascript interpreter in C - development files."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="ISC"
    1.12 +WEB_SITE="https://mujs.com/"
    1.13 +
    1.14 +DEPENDS="mujs pkg-config"
    1.15 +WANTED="mujs"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	cook_copy_folders	include
    1.21 +	cook_copy_folders	pkgconfig
    1.22 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/mujs/description.txt	Wed Sep 11 07:47:41 2024 +0100
     2.3 @@ -0,0 +1,3 @@
     2.4 +MuJS is a lightweight Javascript interpreter designed for
     2.5 +embedding in other software to extend them with scripting
     2.6 +capabilities.
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/mujs/receipt	Wed Sep 11 07:47:41 2024 +0100
     3.3 @@ -0,0 +1,40 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="mujs"
     3.7 +VERSION="1.3.5"
     3.8 +CATEGORY="development"
     3.9 +TAGS="javascript"
    3.10 +SHORT_DESC="An embeddable Javascript interpreter in C."
    3.11 +MAINTAINER="maintainer@slitaz.org"
    3.12 +LICENSE="ISC"
    3.13 +WEB_SITE="https://mujs.com/"
    3.14 +
    3.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.16 +WGET_URL="https://mujs.com/downloads/$TARBALL"
    3.17 +
    3.18 +DEPENDS="libtinfo readline"
    3.19 +BUILD_DEPENDS="libtinfo readline-dev"
    3.20 +
    3.21 +
    3.22 +# Rules to configure and make the package.
    3.23 +compile_rules()
    3.24 +{
    3.25 +	sed -i	's|READLINE_LIBS = -lreadline|READLINE_LIBS = -lreadline -ltinfo|' \
    3.26 +		Makefile &&
    3.27 +
    3.28 +	make	release			\
    3.29 +		prefix=/usr &&
    3.30 +	make	install-shared		\
    3.31 +		prefix=/usr		\
    3.32 +		DESTDIR="$DESTDIR"
    3.33 +}
    3.34 +
    3.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.36 +genpkg_rules()
    3.37 +{
    3.38 +	mkdir -p		$fs/usr/share/licenses
    3.39 +
    3.40 +	cp	$src/COPYING	$fs/usr/share/licenses/LICENCE.mujs
    3.41 +	cook_copy_folders	bin
    3.42 +	cook_copy_files		*.so*
    3.43 +}