wok-next annotate netsurf-buildsystem/receipt @ rev 19936
mate-common: automake-1.15 support, mate-desktop, mate-icon-theme, mate-system-monitor: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 17:04:15 2017 +0200 (2017-10-15) |
parents | 46d3691a4f80 |
children | c4e53a39395a |
rev | line source |
---|---|
al@19811 | 1 # SliTaz package receipt v2. |
al@19811 | 2 |
al@19811 | 3 PACKAGE="netsurf-buildsystem" |
al@19868 | 4 COMMIT="37bf169dab81e00fb0c3fd6b35c992684f018c11" |
al@19868 | 5 VERSION="1.5-170309" |
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 HOST_ARCH="i486 arm" |
al@19811 | 12 |
al@19868 | 13 TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" |
al@19868 | 14 BASE_URL="http://source.netsurf-browser.org/buildsystem.git/snapshot" |
al@19868 | 15 if [ -n "$COMMIT" ]; then |
al@19868 | 16 WGET_URL="$BASE_URL/buildsystem-$COMMIT.tar.bz2" |
al@19868 | 17 else |
al@19868 | 18 WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" |
al@19868 | 19 fi |
al@19811 | 20 |
al@19868 | 21 compile_rules() { |
al@19868 | 22 [ -z "$COMMIT" ] && cd $VERSION |
al@19868 | 23 |
al@19868 | 24 sed -i 's|-Werror||' Makefile |
al@19868 | 25 |
al@19868 | 26 make \ |
al@19868 | 27 PREFIX=/usr \ |
al@19868 | 28 install |
al@19811 | 29 } |
al@19811 | 30 |
al@19868 | 31 genpkg_rules() { |
al@19811 | 32 copy @std @dev |
al@19811 | 33 DEPENDS="perl" |
al@19811 | 34 } |