wok annotate node/receipt @ rev 22406

Add knot-dns
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 10 16:38:12 2019 +0100 (2019-12-10)
parents 20661c276bcf
children 65a24133b39d
rev   line source
pankso@12020 1 # SliTaz package receipt.
pankso@12020 2
pankso@12020 3 PACKAGE="node"
Hans-G?nter@21547 4 VERSION="10.15.3"
pankso@12020 5 CATEGORY="network"
pankso@12020 6 SHORT_DESC="Node.js is a platform for easily building network applications."
pankso@12020 7 MAINTAINER="pankso@slitaz.org"
pascal@15503 8 LICENSE="MIT"
Hans-G?nter@21547 9 WEB_SITE="https://nodejs.org/"
Hans-G?nter@21547 10
pankso@12020 11 TARBALL="$PACKAGE-v$VERSION.tar.gz"
pankso@12020 12 WGET_URL="http://nodejs.org/dist/v$VERSION/$TARBALL"
Hans-G?nter@21547 13
Hans-G?nter@21547 14 DEPENDS="python libssl"
Hans-G?nter@21547 15 BUILD_DEPENDS="gcc83 python-dev openssl-dev"
Hans-G?nter@21547 16
pankso@16509 17 #HOST_ARCH="i486 arm"
pankso@12020 18
pankso@12020 19 # Rules to configure and make the package.
pankso@12020 20 compile_rules()
pankso@12020 21 {
pascal@20212 22 sed -i 's|uname -m|echo i486|' Makefile
Hans-G?nter@21547 23 export LD_LIBRARY_PATH="/usr/libgcc83:$LD_LIBRARY_PATH"
Hans-G?nter@21547 24 export CC=gcc-83
Hans-G?nter@21547 25 export CXX=g++-83
Hans-G?nter@21547 26
pankso@12020 27 ./configure --prefix=/usr &&
Hans-G?nter@21547 28 make &&
Hans-G?nter@21547 29 make install
pankso@12020 30 }
pankso@12020 31
pankso@12020 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12020 33 genpkg_rules()
pankso@12020 34 {
pankso@12020 35 mkdir -p $fs/usr/lib
Hans-G?nter@21547 36
Hans-G?nter@21547 37 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21547 38 cp -a $install/usr/lib/node* $fs/usr/lib
pankso@12020 39 }