wok view dillo/receipt @ rev 16364

fltk: remove --with-archflags=i386
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 14 09:32:36 2014 +0000 (2014-04-14)
parents 3bf809ba9d85
children c93c5dacf687
line source
1 # SliTaz package receipt.
3 PACKAGE="dillo"
4 VERSION="3.0.4"
5 CATEGORY="network"
6 SHORT_DESC="Light and fast web browse using FLTK."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.dillo.org/"
11 WGET_URL="http://www.dillo.org/download/$TARBALL"
12 TAGS="browser"
13 HOST_ARCH="i486 arm"
15 DEPENDS="fltk libpng jpeg zlib openssl xorg-libX11 gcc-lib-base"
16 BUILD_DEPENDS="fltk-dev libpng-dev jpeg-dev zlib-dev openssl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --sysconfdir=/etc \
23 --prefix=/usr \
24 --enable-ssl \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/dillo $fs/usr/lib
35 strip -s $fs/usr/lib/dillo/dpi/*/*
36 chmod +x $fs/usr/bin/*
37 # Config files with custom dillorc to have webhomepage.
38 cp -a $install/etc $fs
39 cp -a $stuff/dillorc $fs/etc/dillo
40 chown -R root.root $fs
41 }