wok-next annotate nsgenbind/receipt @ rev 20010
Up rsnapshot (1.4.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 21 18:08:51 2017 +0200 (2017-10-21) |
parents | |
children |
rev | line source |
---|---|
al@19868 | 1 # SliTaz package receipt v2. |
al@19868 | 2 |
al@19868 | 3 PACKAGE="nsgenbind" |
al@19868 | 4 COMMIT="dd752ec19370014f7b222f4983c52ddbbe3e66cf" |
al@19868 | 5 VERSION="0.4-170323" |
al@19868 | 6 CATEGORY="libs" |
al@19868 | 7 SHORT_DESC="NetSurf JavaScript binding generator" |
al@19868 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@19868 | 9 LICENSE="GPL" |
al@19868 | 10 WEB_SITE="http://git.netsurf-browser.org/nsgenbind.git/" |
al@19868 | 11 |
al@19868 | 12 TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" |
al@19868 | 13 BASE_URL="http://git.netsurf-browser.org/$PACKAGE.git/snapshot" |
al@19868 | 14 if [ -n "$COMMIT" ]; then |
al@19868 | 15 WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" |
al@19868 | 16 else |
al@19868 | 17 WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" |
al@19868 | 18 fi |
al@19868 | 19 |
al@19868 | 20 BUILD_DEPENDS="netsurf-buildsystem" |
al@19868 | 21 |
al@19868 | 22 compile_rules() { |
al@19868 | 23 [ -z "$COMMIT" ] && cd $VERSION |
al@19868 | 24 |
al@19868 | 25 make \ |
al@19868 | 26 PREFIX=/usr \ |
al@19868 | 27 install |
al@19868 | 28 } |
al@19868 | 29 |
al@19868 | 30 genpkg_rules() { |
al@19868 | 31 copy @std |
al@19868 | 32 } |