wok view gamin/receipt @ rev 10934

fusecloop: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 26 20:47:01 2011 +0200 (2011-08-26)
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 }