wok view dillo/receipt @ rev 7706
xorg-xproto: fix build-depends
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Dec 19 14:46:31 2010 +0100 (2010-12-19) |
parents | 6e90579538d6 |
children | 82c4cce3b3f8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dillo"
4 VERSION="2.2"
5 CATEGORY="network"
6 SHORT_DESC="Light and fast web browse using FLTK."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.dillo.org/"
10 WGET_URL="http://www.dillo.org/download/$TARBALL"
11 DEPENDS="fltk-2.0.x libpng jpeg zlib openssl xorg-libXi xorg-libXinerama \
12 gcc-lib-base"
13 BUILD_DEPENDS="$DEPENDS fltk-2.0.x-dev libpng-dev jpeg-dev zlib-dev"
14 TAGS="browser"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --sysconfdir=/etc \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/dillo $fs/usr/lib
34 strip -s $fs/usr/lib/dillo/dpi/*/*
35 chmod +x $fs/usr/bin/*
36 # Config files with custom dillorc to have webhomepage.
37 cp -a $_pkg/etc $fs
38 cp -a stuff/dillorc $fs/etc/dillo
39 chown -R root.root $fs
40 }