wok view gamin/receipt @ rev 5852

freeradius: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 16 23:05:43 2010 +0200 (2010-07-16)
parents 96a2c64fe0bd
children 92d66db6d2b5
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 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 }