wok-current annotate dillo/receipt @ rev 16024
spk: add to cross arch's
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 06 23:00:20 2014 +0100 (2014-03-06) |
parents | 2b9f96603415 |
children | 3bf809ba9d85 |
rev | line source |
---|---|
pankso@2795 | 1 # SliTaz package receipt. |
pankso@2795 | 2 |
pankso@2795 | 3 PACKAGE="dillo" |
pankso@15747 | 4 VERSION="3.0.3" |
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" |
pascal@14999 | 12 TAGS="browser" |
pascal@14999 | 13 |
pankso@15747 | 14 DEPENDS="fltk libpng jpeg zlib openssl xorg-libX11 gcc-lib-base" |
pankso@15747 | 15 BUILD_DEPENDS="$DEPENDS fltk-dev libpng-dev jpeg-dev zlib-dev openssl-dev" |
pankso@2795 | 16 |
pankso@2795 | 17 # Rules to configure and make the package. |
pankso@2795 | 18 compile_rules() |
pankso@2795 | 19 { |
pankso@2795 | 20 cd $src |
pankso@2795 | 21 ./configure \ |
pankso@3819 | 22 --sysconfdir=/etc \ |
pankso@2795 | 23 --prefix=/usr \ |
pankso@15747 | 24 --enable-ssl \ |
pankso@2795 | 25 $CONFIGURE_ARGS && |
pankso@2795 | 26 make && |
pascal@14999 | 27 make DESTDIR=$DESTDIR install |
pankso@2795 | 28 } |
pankso@2795 | 29 |
pankso@2795 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2795 | 31 genpkg_rules() |
pankso@2795 | 32 { |
pankso@2795 | 33 mkdir -p $fs/usr/lib |
pascal@14999 | 34 cp -a $install/usr/bin $fs/usr |
pascal@14999 | 35 cp -a $install/usr/lib/dillo $fs/usr/lib |
pankso@2795 | 36 strip -s $fs/usr/lib/dillo/dpi/*/* |
pankso@2795 | 37 chmod +x $fs/usr/bin/* |
pankso@2795 | 38 # Config files with custom dillorc to have webhomepage. |
pascal@14999 | 39 cp -a $install/etc $fs |
samuel_trassare@11764 | 40 cp -a $stuff/dillorc $fs/etc/dillo |
pankso@2795 | 41 chown -R root.root $fs |
pankso@2795 | 42 } |