wok annotate tazweb/receipt @ rev 20861
syslinux: fix iso2exe
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 22 15:37:43 2019 +0100 (2019-02-22) |
parents | b6b6a48e1829 |
children | 8862bbaf1d18 |
rev | line source |
---|---|
pankso@9482 | 1 # SliTaz package receipt. |
pankso@9482 | 2 |
pankso@9482 | 3 PACKAGE="tazweb" |
pascal@20119 | 4 VERSION="208" |
pankso@9482 | 5 CATEGORY="network" |
pankso@10719 | 6 SHORT_DESC="SliTaz simple, fast and small Web Browser" |
pankso@9482 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15022 | 8 LICENSE="BSD" |
al@14126 | 9 WEB_SITE="http://www.slitaz.org/" |
al@14126 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@14126 | 11 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz" |
al@17501 | 12 TAGS="web-browser" |
pankso@16267 | 13 HOST_ARCH="i486 arm" |
al@14126 | 14 |
al@17315 | 15 DEPENDS="libwebkit" |
pankso@16268 | 16 BUILD_DEPENDS="glib-dev gtk+-dev libsoup-dev libwebkit-dev libxslt-dev" |
pankso@9482 | 17 |
pankso@9482 | 18 # Rules to configure and make the package. |
pankso@9482 | 19 compile_rules() |
pankso@9482 | 20 { |
al@19846 | 21 make && make DESTDIR=$install install |
pankso@9482 | 22 } |
pankso@9482 | 23 |
pankso@16267 | 24 # Cross compilation check |
pankso@16267 | 25 testsuite() { |
pankso@16267 | 26 readelf -h $install/usr/bin/tazweb |
pankso@16267 | 27 } |
pankso@16267 | 28 |
pankso@9482 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9482 | 30 genpkg_rules() |
pankso@9482 | 31 { |
pankso@9482 | 32 mkdir -p $fs |
pankso@12178 | 33 cp -a $install/* $fs |
pankso@9482 | 34 } |
pascal@20101 | 35 |
pascal@20101 | 36 post_install() |
pascal@20101 | 37 { |
pascal@20101 | 38 sed -i "s|content: \"20..\"|content: \"$(date +%Y)\"|" \ |
pascal@20101 | 39 $1/usr/share/doc/tazweb/style.css |
pascal@20101 | 40 } |