wok-next annotate netsurf-buildsystem/receipt @ rev 20669
vde2: up / fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 14:21:30 2018 +0300 (2018-05-11) |
parents | c4e53a39395a |
children |
rev | line source |
---|---|
al@19811 | 1 # SliTaz package receipt v2. |
al@19811 | 2 |
al@19811 | 3 PACKAGE="netsurf-buildsystem" |
al@20519 | 4 COMMIT="" |
al@20519 | 5 VERSION="1.6" |
al@19811 | 6 CATEGORY="development" |
al@19811 | 7 SHORT_DESC="The Netsurf buildsystem" |
al@19811 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@19811 | 9 LICENSE="MIT" |
al@19811 | 10 WEB_SITE="http://source.netsurf-browser.org/buildsystem.git/" |
al@19811 | 11 |
al@19868 | 12 TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" |
al@19868 | 13 BASE_URL="http://source.netsurf-browser.org/buildsystem.git/snapshot" |
al@19868 | 14 if [ -n "$COMMIT" ]; then |
al@19868 | 15 WGET_URL="$BASE_URL/buildsystem-$COMMIT.tar.bz2" |
al@19868 | 16 else |
al@19868 | 17 WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" |
al@19868 | 18 fi |
al@19811 | 19 |
al@19868 | 20 compile_rules() { |
al@19868 | 21 [ -z "$COMMIT" ] && cd $VERSION |
al@19868 | 22 |
al@19868 | 23 sed -i 's|-Werror||' Makefile |
al@19868 | 24 |
al@19868 | 25 make \ |
al@19868 | 26 PREFIX=/usr \ |
al@19868 | 27 install |
al@19811 | 28 } |
al@19811 | 29 |
al@19868 | 30 genpkg_rules() { |
al@19811 | 31 copy @std @dev |
al@19811 | 32 DEPENDS="perl" |
al@20519 | 33 TAGS="netsurf" |
al@19811 | 34 } |