wok-next view 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 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="netsurf-buildsystem"
4 COMMIT=""
5 VERSION="1.6"
6 CATEGORY="development"
7 SHORT_DESC="The Netsurf buildsystem"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="http://source.netsurf-browser.org/buildsystem.git/"
12 TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2"
13 BASE_URL="http://source.netsurf-browser.org/buildsystem.git/snapshot"
14 if [ -n "$COMMIT" ]; then
15 WGET_URL="$BASE_URL/buildsystem-$COMMIT.tar.bz2"
16 else
17 WGET_URL="$BASE_URL/release/$VERSION.tar.bz2"
18 fi
20 compile_rules() {
21 [ -z "$COMMIT" ] && cd $VERSION
23 sed -i 's|-Werror||' Makefile
25 make \
26 PREFIX=/usr \
27 install
28 }
30 genpkg_rules() {
31 copy @std @dev
32 DEPENDS="perl"
33 TAGS="netsurf"
34 }