wok annotate dillo/receipt @ rev 11563
Add pysdm form wok-undigest
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 25 15:19:21 2011 +0100 (2011-12-25) |
parents | 3582d1a028e0 |
children | c2f103586eb5 |
rev | line source |
---|---|
pankso@2795 | 1 # SliTaz package receipt. |
pankso@2795 | 2 |
pankso@2795 | 3 PACKAGE="dillo" |
devl547@11260 | 4 VERSION="3.0.1" |
pankso@2795 | 5 CATEGORY="network" |
pankso@2795 | 6 SHORT_DESC="Light and fast web browse using FLTK." |
pankso@2795 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2795 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@2795 | 9 WEB_SITE="http://www.dillo.org/" |
pankso@2795 | 10 WGET_URL="http://www.dillo.org/download/$TARBALL" |
devl547@11260 | 11 DEPENDS="fltk libpng jpeg zlib openssl xorg-libXi xorg-libXinerama \ |
pascal@5000 | 12 gcc-lib-base" |
devl547@11260 | 13 BUILD_DEPENDS="$DEPENDS fltk-dev libpng-dev jpeg-dev zlib-dev" |
jozee@4934 | 14 TAGS="browser" |
pankso@2795 | 15 |
pankso@2795 | 16 # Rules to configure and make the package. |
pankso@2795 | 17 compile_rules() |
pankso@2795 | 18 { |
pankso@2795 | 19 cd $src |
pankso@2795 | 20 ./configure \ |
pankso@3819 | 21 --sysconfdir=/etc \ |
pankso@2795 | 22 --prefix=/usr \ |
pankso@2795 | 23 $CONFIGURE_ARGS && |
pankso@2795 | 24 make && |
pankso@2795 | 25 make DESTDIR=$PWD/_pkg install |
pankso@2795 | 26 } |
pankso@2795 | 27 |
pankso@2795 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2795 | 29 genpkg_rules() |
pankso@2795 | 30 { |
pankso@2795 | 31 mkdir -p $fs/usr/lib |
pankso@2795 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@2795 | 33 cp -a $_pkg/usr/lib/dillo $fs/usr/lib |
pankso@2795 | 34 strip -s $fs/usr/lib/dillo/dpi/*/* |
pankso@2795 | 35 chmod +x $fs/usr/bin/* |
pankso@2795 | 36 # Config files with custom dillorc to have webhomepage. |
pankso@2795 | 37 cp -a $_pkg/etc $fs |
pankso@2795 | 38 cp -a stuff/dillorc $fs/etc/dillo |
pankso@2795 | 39 chown -R root.root $fs |
pankso@2795 | 40 } |