wok-4.x view gamin/receipt @ rev 10572

awesome: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 23:46:34 2011 +0200 (2011-05-25)
parents 92d66db6d2b5
children 018bf95ddb55
line source
1 # SliTaz package receipt.
3 PACKAGE="gamin"
4 VERSION="0.1.10"
5 CATEGORY="system-tools"
6 SHORT_DESC="File and directory monitoring system."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnome.org/~veillard/gamin/"
10 WGET_URL="http://www.gnome.org/~veillard/gamin/sources/$TARBALL"
11 CROSS="error: cannot run test program while cross compiling"
13 DEPENDS="glib"
14 BUILD_DEPENDS="pkg-config glib glib-dev gtk+-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --libexecdir=/usr/lib/gamin \
24 --build=$HOST_SYSTEM \
25 --host=$HOST_SYSTEM &&
26 make &&
27 mkdir -p $DESTDIR/usr/include &&
28 make -j1 DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
37 strip -s $fs/usr/lib/$PACKAGE/*
38 }