wok-6.x annotate dillo/receipt @ rev 20445
Add python-singledispatch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 20 12:59:25 2018 +0200 (2018-09-20) |
parents | 5d53e8ccbc8d |
children | a78610b2eb47 |
rev | line source |
---|---|
pankso@2795 | 1 # SliTaz package receipt. |
pankso@2795 | 2 |
pankso@2795 | 3 PACKAGE="dillo" |
pankso@16336 | 4 VERSION="3.0.4" |
pankso@2795 | 5 CATEGORY="network" |
pankso@2795 | 6 SHORT_DESC="Light and fast web browse using FLTK." |
pankso@2795 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pankso@2795 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@2795 | 10 WEB_SITE="http://www.dillo.org/" |
pankso@2795 | 11 WGET_URL="http://www.dillo.org/download/$TARBALL" |
al@17501 | 12 TAGS="web-browser" |
pankso@16359 | 13 HOST_ARCH="i486 arm" |
pascal@14999 | 14 |
pankso@15747 | 15 DEPENDS="fltk libpng jpeg zlib openssl xorg-libX11 gcc-lib-base" |
pankso@16359 | 16 BUILD_DEPENDS="fltk-dev libpng-dev jpeg-dev zlib-dev openssl-dev" |
pankso@2795 | 17 |
pankso@2795 | 18 # Rules to configure and make the package. |
pankso@2795 | 19 compile_rules() |
pankso@2795 | 20 { |
pascal@19446 | 21 patch -p0 < $stuff/fltk-1.3.3.u |
pankso@16375 | 22 cp -f $stuff/pixmaps.slitaz.h src/pixmaps.h && |
pankso@2795 | 23 ./configure \ |
pankso@3819 | 24 --sysconfdir=/etc \ |
pankso@2795 | 25 --prefix=/usr \ |
pankso@15747 | 26 --enable-ssl \ |
pankso@2795 | 27 $CONFIGURE_ARGS && |
pankso@16359 | 28 make && make install |
pankso@2795 | 29 } |
pankso@2795 | 30 |
pankso@2795 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2795 | 32 genpkg_rules() |
pankso@2795 | 33 { |
pankso@16375 | 34 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@14999 | 35 cp -a $install/usr/bin $fs/usr |
pascal@14999 | 36 cp -a $install/usr/lib/dillo $fs/usr/lib |
pankso@2795 | 37 strip -s $fs/usr/lib/dillo/dpi/*/* |
pankso@2795 | 38 chmod +x $fs/usr/bin/* |
pankso@16449 | 39 # Config files with custom dillorc to have webhome |
pascal@14999 | 40 cp -a $install/etc $fs |
samuel_trassare@11764 | 41 cp -a $stuff/dillorc $fs/etc/dillo |
pankso@16375 | 42 cp -a $stuff/webhome $fs/usr/share |
pankso@16449 | 43 # Dillo version for user agent string |
pankso@16449 | 44 sed -i s"/_dillo_version_/$VERSION/" $fs/etc/dillo/dillorc |
pankso@2795 | 45 chown -R root.root $fs |
pankso@2795 | 46 } |