wok-next diff nsgenbind/receipt @ rev 20024
Up tesseract-ocr (3.05.01)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 22 12:39:31 2017 +0200 (2017-10-22) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/nsgenbind/receipt Sun Oct 22 12:39:31 2017 +0200 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="nsgenbind" 1.7 +COMMIT="dd752ec19370014f7b222f4983c52ddbbe3e66cf" 1.8 +VERSION="0.4-170323" 1.9 +CATEGORY="libs" 1.10 +SHORT_DESC="NetSurf JavaScript binding generator" 1.11 +MAINTAINER="al.bobylev@gmail.com" 1.12 +LICENSE="GPL" 1.13 +WEB_SITE="http://git.netsurf-browser.org/nsgenbind.git/" 1.14 + 1.15 +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" 1.16 +BASE_URL="http://git.netsurf-browser.org/$PACKAGE.git/snapshot" 1.17 +if [ -n "$COMMIT" ]; then 1.18 + WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" 1.19 +else 1.20 + WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" 1.21 +fi 1.22 + 1.23 +BUILD_DEPENDS="netsurf-buildsystem" 1.24 + 1.25 +compile_rules() { 1.26 + [ -z "$COMMIT" ] && cd $VERSION 1.27 + 1.28 + make \ 1.29 + PREFIX=/usr \ 1.30 + install 1.31 +} 1.32 + 1.33 +genpkg_rules() { 1.34 + copy @std 1.35 +}