wok-current view gamin/receipt @ rev 8252
Fix: gamin need -j1 to build install
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Jan 29 14:17:17 2011 +0100 (2011-01-29) |
parents | f21c160be928 |
children | 9aaf5b54d2a9 |
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 DEPENDS="glib"
9 BUILD_DEPENDS="pkg-config glib glib-dev gtk+-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnome.org/~veillard/gamin/"
12 WGET_URL="http://www.gnome.org/~veillard/gamin/sources/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --libexecdir=/usr/lib/gamin \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 mkdir -p $PWD/_pkg/usr/include &&
27 make -j1 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/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
36 strip -s $fs/usr/lib/$PACKAGE/*
37 }