wok-4.x annotate gamin/receipt @ rev 11490

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