wok annotate dillo/receipt @ rev 15164
Up xorg-xf86-input-void (1.4.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 18:48:58 2013 +0000 (2013-08-15) |
parents | c2f103586eb5 |
children | a5485afde222 |
rev | line source |
---|---|
pankso@2795 | 1 # SliTaz package receipt. |
pankso@2795 | 2 |
pankso@2795 | 3 PACKAGE="dillo" |
samuel_trassare@11764 | 4 VERSION="3.0.2" |
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 |
devl547@11260 | 14 DEPENDS="fltk libpng jpeg zlib openssl xorg-libXi xorg-libXinerama \ |
pascal@5000 | 15 gcc-lib-base" |
devl547@11260 | 16 BUILD_DEPENDS="$DEPENDS fltk-dev libpng-dev jpeg-dev zlib-dev" |
pankso@2795 | 17 |
pankso@2795 | 18 # Rules to configure and make the package. |
pankso@2795 | 19 compile_rules() |
pankso@2795 | 20 { |
pankso@2795 | 21 cd $src |
pankso@2795 | 22 ./configure \ |
pankso@3819 | 23 --sysconfdir=/etc \ |
pankso@2795 | 24 --prefix=/usr \ |
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 } |