wok view fox14/receipt @ rev 7632
*-pam: reinstall core package in pre_remove()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 13 12:44:48 2010 +0100 (2010-12-13) |
parents | 6cc3281e3803 |
children | 727133dce37a |
line source
1 # SliTaz package receipt.
3 PACKAGE="fox14"
4 SOURCE="fox"
5 VERSION="1.4.35"
6 CATEGORY="x-window"
7 SHORT_DESC="Fox toolkit."
8 MAINTAINER="pankso@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 DEPENDS="libpng jpeg tiff xorg-libXft bzlib mesa libglu-mesa"
11 BUILD_DEPENDS="libpng jpeg tiff xorg-libXft bzlib nvidia \
12 libpng-dev jpeg-dev tiff-dev xorg-libXft-dev mesa libglu-mesa"
13 SUGGESTED="adie calculator pathfinder shutterbug"
14 WEB_SITE="http://www.fox-toolkit.org/"
15 WGET_URL="http://www.fox-toolkit.org/ftp/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 --with-xft \
25 $CONFIGURE_ARGS &&
26 make -j 4 &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 }